Update navigation colors
This commit is contained in:
parent
5363526f77
commit
8162d1100d
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="?colorPrimary" android:state_checked="true" />
|
||||
<item android:color="?vctr_content_secondary" />
|
||||
<item android:color="?vctr_content_tertiary" />
|
||||
</selector>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<solid android:color="?vctr_toolbar_background"/>
|
||||
|
||||
</shape>
|
|
@ -164,10 +164,6 @@
|
|||
android:id="@+id/bottomNavigationView"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?vctr_system"
|
||||
app:itemIconSize="20dp"
|
||||
app:itemIconTint="@color/bottom_navigation_icon_tint_selector"
|
||||
app:labelVisibilityMode="unlabeled"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="VectorBottomNavigation" parent="Widget.MaterialComponents.BottomNavigationView">
|
||||
<item name="android:background">@drawable/bg_bottom_navigation</item>
|
||||
<item name="itemBackground">@drawable/bg_bottom_navigation</item>
|
||||
<item name="itemIconSize">20dp</item>
|
||||
<item name="itemIconTint">@color/bottom_navigation_icon_tint_selector</item>
|
||||
<item name="labelVisibilityMode">unlabeled</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
|
@ -68,6 +68,7 @@
|
|||
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
||||
<item name="toolbarStyle">@style/VectorToolbar</item>
|
||||
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleDark</item>
|
||||
<item name="bottomNavigationStyle">@style/VectorBottomNavigation</item>
|
||||
|
||||
<!-- Default style for text input -->
|
||||
<item name="textInputStyle">@style/VectorTextInputLayout</item>
|
||||
|
|
|
@ -68,6 +68,7 @@
|
|||
<item name="materialButtonStyle">@style/VectorButtonStyle</item>
|
||||
<item name="toolbarStyle">@style/VectorToolbar</item>
|
||||
<item name="materialAlertDialogTheme">@style/VectorAlertDialogStyleLight</item>
|
||||
<item name="bottomNavigationStyle">@style/VectorBottomNavigation</item>
|
||||
|
||||
<!-- Default style for text input -->
|
||||
<item name="textInputStyle">@style/VectorTextInputLayout</item>
|
||||
|
|
Loading…
Reference in New Issue