2017-09-10 3 views
0

Ich benutze https://github.com/roughike/BottomBar Bibliothek, um meine untere Bar für Android machen, aber ich kann nicht die Größe der Symbole ändern, keine Ahnung, wie man sie klein machen?Change Bottom Bar Symbol Größe Android

Android Bottom Bar

activity_main

<?xml version="1.0" encoding="utf-8"?> 

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
xmlns:tools="http://schemas.android.com/tools" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
xmlns:app="http://schemas.android.com/apk/res-auto" 
tools:context="ytstudios.wall.plus.MainActivity" 
android:background="@color/colorAccent"> 

<android.support.v7.widget.Toolbar 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    android:background="@color/colorPrimary" 
    android:elevation="8dp"> 
</android.support.v7.widget.Toolbar> 

<com.roughike.bottombar.BottomBar 
    android:id="@+id/bottom_bar" 
    android:layout_width="match_parent" 
    android:layout_height="60dp" 
    android:layout_alignParentBottom="true" 
    android:background="@color/colorPrimary" 
    app:bb_tabXmlResource="@xml/bottom_tabs" 
    app:bb_inActiveTabColor="@color/tabSelected" 
    app:bb_inActiveTabAlpha="0.2" 
    app:bb_behavior="iconsOnly" 
    app:bb_activeTabColor="@color/tabSelected"> 
</com.roughike.bottombar.BottomBar> 

Antwort

1

Der einfachste Weg, die Verwendung wäre Android Asset Studio tool Ihre Symbole entsprechend Ihrer Größe
konvertieren Wie Sie Asset-Größe in der reduzieren Werkzeug Ihr Icon wird verkleinert und angezeigt. c richtig.

+0

Danke! Das hat wie ein Zauber funktioniert –

Verwandte Themen