mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-27 17:49:16 +03:00
Match status/nav bar to reader toolbar color
This commit is contained in:
parent
152c196c65
commit
fbaaed1516
4 changed files with 3 additions and 6 deletions
|
@ -52,8 +52,7 @@
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?attr/actionBarSize"
|
android:layout_height="?attr/actionBarSize"
|
||||||
android:background="?colorPrimary"
|
android:background="?colorPrimary" />
|
||||||
android:elevation="4dp" />
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/reader_menu_bottom"
|
android:id="@+id/reader_menu_bottom"
|
||||||
|
|
|
@ -3,6 +3,5 @@
|
||||||
|
|
||||||
<!-- Reader Theme -->
|
<!-- Reader Theme -->
|
||||||
<color name="readerColorDarkPrimary">#BF212121</color>
|
<color name="readerColorDarkPrimary">#BF212121</color>
|
||||||
<color name="readerColorDarkPrimaryDark">#BF1C1C1D</color>
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|
|
@ -46,7 +46,6 @@
|
||||||
|
|
||||||
<!-- Reader Theme -->
|
<!-- Reader Theme -->
|
||||||
<color name="readerColorDarkPrimary">@color/colorDarkPrimary</color>
|
<color name="readerColorDarkPrimary">@color/colorDarkPrimary</color>
|
||||||
<color name="readerColorDarkPrimaryDark">@color/colorDarkPrimaryDark</color>
|
|
||||||
<color name="pageNumberBackgroundLight">@color/md_grey_50_75</color>
|
<color name="pageNumberBackgroundLight">@color/md_grey_50_75</color>
|
||||||
<color name="pageNumberBackgroundDark">@color/md_grey_900_75</color>
|
<color name="pageNumberBackgroundDark">@color/md_grey_900_75</color>
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@
|
||||||
<!--==============-->
|
<!--==============-->
|
||||||
<style name="Theme.Base.Reader.Dark" parent="Theme.Base.Dark">
|
<style name="Theme.Base.Reader.Dark" parent="Theme.Base.Dark">
|
||||||
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
||||||
<item name="colorPrimaryDark">@color/readerColorDarkPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/readerColorDarkPrimary</item>
|
||||||
<item name="android:colorBackground">@android:color/black</item>
|
<item name="android:colorBackground">@android:color/black</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">?colorPrimaryDark</item>
|
<item name="android:statusBarColor">?colorPrimaryDark</item>
|
||||||
|
@ -146,7 +146,7 @@
|
||||||
|
|
||||||
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
|
<style name="Theme.Base.Reader.Light" parent="Theme.Base">
|
||||||
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
<item name="colorPrimary">@color/readerColorDarkPrimary</item>
|
||||||
<item name="colorPrimaryDark">@color/readerColorDarkPrimaryDark</item>
|
<item name="colorPrimaryDark">@color/readerColorDarkPrimary</item>
|
||||||
<item name="android:colorBackground">@android:color/white</item>
|
<item name="android:colorBackground">@android:color/white</item>
|
||||||
|
|
||||||
<item name="android:statusBarColor">?colorPrimaryDark</item>
|
<item name="android:statusBarColor">?colorPrimaryDark</item>
|
||||||
|
|
Loading…
Reference in a new issue