mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-19 12:26:13 -04:00
#2186 moved bottom app bar styling to separate style and added to theme.
This commit is contained in:
parent
87c2d5bdf3
commit
c3d6c0c991
@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.google.android.material.bottomappbar.BottomAppBar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/bottom_toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:backgroundTint="@color/black"
|
||||
android:padding="8dp"
|
||||
app:hideOnScroll="true">
|
||||
app:hideOnScroll="true"
|
||||
tools:ignore="BottomAppBar">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
|
@ -20,6 +20,10 @@
|
||||
<item name="itemTextAppearance">?textAppearanceBody2</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.KiwixTheme.BottomAppBar" parent="Widget.MaterialComponents.BottomAppBar">
|
||||
<item name="backgroundTint">@color/black</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.KiwixTheme.Toolbar" parent="Widget.MaterialComponents.Toolbar.PrimarySurface">
|
||||
<item name="android:background">@color/black</item>
|
||||
</style>
|
||||
|
@ -64,6 +64,7 @@
|
||||
<item name="navigationViewStyle">@style/Widget.KiwixTheme.NavigationView</item>
|
||||
<item name="materialCardViewStyle">@style/Widget.KiwixTheme.CardView</item>
|
||||
<item name="bottomNavigationStyle">@style/Widget.KiwixTheme.BottomNavigationView</item>
|
||||
<item name="bottomAppBarStyle">@style/Widget.KiwixTheme.BottomAppBar</item>
|
||||
<item name="toolbarStyle">@style/Widget.KiwixTheme.Toolbar</item>
|
||||
<item name="tabStyle">@style/Widget.KiwixTheme.TabLayout</item>
|
||||
<item name="appBarLayoutStyle">@style/Widget.KiwixTheme.AppBar</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user