make bottom nav color configurable
This commit is contained in:
parent
d0604cb886
commit
f9e4506f2d
@ -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