Merge branch 'bottom-nav-colors' into 'master'

make bottom nav color configurable

See merge request fdroid/fdroidclient!906
This commit is contained in:
Hans-Christoph Steiner 2020-07-15 08:17:16 +00:00
commit 1ee0d7568b
2 changed files with 3 additions and 1 deletions

View File

@ -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))

View File

@ -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>