Merge branch 'bottom-nav-colors' into 'master'
make bottom nav color configurable See merge request fdroid/fdroidclient!906
This commit is contained in:
commit
1ee0d7568b
@ -149,7 +149,7 @@ public class MainActivity extends AppCompatActivity implements BottomNavigationB
|
||||
bottomNavigation.setTabSelectedListener(this)
|
||||
.setBarBackgroundColor(getBottomNavigationBackgroundColorResId())
|
||||
.setInActiveColor(R.color.bottom_nav_items)
|
||||
.setActiveColor(android.R.color.white)
|
||||
.setActiveColor(R.color.bottom_nav_active)
|
||||
.setMode(BottomNavigationBar.MODE_FIXED)
|
||||
.addItem(new BottomNavigationItem(R.drawable.ic_updates, R.string.main_menu__updates)
|
||||
.setBadgeItem(updatesBadge))
|
||||
|
@ -34,4 +34,6 @@
|
||||
<color name="shadow">#cc222222</color>
|
||||
|
||||
<color name="perms_costs_money">#fff4511e</color>
|
||||
|
||||
<color name="bottom_nav_active">@android:color/white</color>
|
||||
</resources>
|
||||
|
Loading…
x
Reference in New Issue
Block a user