mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 12:00:03 +03:00
Update navigation colors
This commit is contained in:
parent
5363526f77
commit
8162d1100d
6 changed files with 21 additions and 5 deletions
|
@ -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>
|
6
vector/src/main/res/drawable/bg_bottom_navigation.xml
Normal file
6
vector/src/main/res/drawable/bg_bottom_navigation.xml
Normal file
|
@ -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"
|
||||
|
|
12
vector/src/main/res/values/styles_bottom_navigation.xml
Normal file
12
vector/src/main/res/values/styles_bottom_navigation.xml
Normal file
|
@ -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 a new issue