mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 17:25:09 +01:00
Translucent reader UI
This commit is contained in:
parent
ee6d2927f9
commit
8c91b7628f
@ -46,8 +46,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"
|
||||||
|
4
app/src/main/res/values-v26/colors.xml
Normal file
4
app/src/main/res/values-v26/colors.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="darkPrimaryTranslucent">#BF212121</color>
|
||||||
|
</resources>
|
@ -23,6 +23,7 @@
|
|||||||
<color name="readerDarkBackground">#1C1C1D</color>
|
<color name="readerDarkBackground">#1C1C1D</color>
|
||||||
<color name="button_bg">@color/md_white_1000</color>
|
<color name="button_bg">@color/md_white_1000</color>
|
||||||
<color name="gray_button">#404040</color>
|
<color name="gray_button">#404040</color>
|
||||||
|
<color name="darkPrimaryTranslucent">@color/darkPrimaryColor</color>
|
||||||
|
|
||||||
<color name="textColorPrimary">@color/md_black_1000_87</color>
|
<color name="textColorPrimary">@color/md_black_1000_87</color>
|
||||||
<color name="textColorSecondary">@color/md_black_1000_54</color>
|
<color name="textColorSecondary">@color/md_black_1000_54</color>
|
||||||
|
@ -77,8 +77,8 @@
|
|||||||
<!--==============-->
|
<!--==============-->
|
||||||
<style name="Theme.Base.Reader" parent="Theme.Base">
|
<style name="Theme.Base.Reader" parent="Theme.Base">
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
<item name="android:forceDarkAllowed">false</item>
|
||||||
<item name="colorPrimary">@color/darkPrimaryColor</item>
|
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
|
||||||
<item name="colorPrimaryDark">@color/darkPrimaryColor</item>
|
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</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>
|
||||||
<item name="android:navigationBarColor">?colorPrimaryDark</item>
|
<item name="android:navigationBarColor">?colorPrimaryDark</item>
|
||||||
@ -86,8 +86,8 @@
|
|||||||
|
|
||||||
<style name="Theme.Base.Reader.Dark" parent="Theme.MaterialComponents.NoActionBar">
|
<style name="Theme.Base.Reader.Dark" parent="Theme.MaterialComponents.NoActionBar">
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
<item name="android:forceDarkAllowed">false</item>
|
||||||
<item name="colorPrimary">@color/darkPrimaryColor</item>
|
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
|
||||||
<item name="colorPrimaryDark">@color/darkPrimaryColor</item>
|
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
|
||||||
<item name="android:colorBackground">@android:color/black</item>
|
<item name="android:colorBackground">@android:color/black</item>
|
||||||
<item name="colorAccent">#3399FF</item>
|
<item name="colorAccent">#3399FF</item>
|
||||||
<item name="android:textColorPrimary">@color/md_white_1000</item>
|
<item name="android:textColorPrimary">@color/md_white_1000</item>
|
||||||
@ -125,8 +125,8 @@
|
|||||||
|
|
||||||
<style name="Theme.Base.Reader.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
|
<style name="Theme.Base.Reader.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
|
||||||
<item name="android:forceDarkAllowed">false</item>
|
<item name="android:forceDarkAllowed">false</item>
|
||||||
<item name="colorPrimary">@color/darkPrimaryColor</item>
|
<item name="colorPrimary">@color/darkPrimaryTranslucent</item>
|
||||||
<item name="colorPrimaryDark">@color/darkPrimaryColor</item>
|
<item name="colorPrimaryDark">@color/darkPrimaryTranslucent</item>
|
||||||
<item name="android:colorBackground">@android:color/white</item>
|
<item name="android:colorBackground">@android:color/white</item>
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
<item name="android:textColorPrimary">@color/md_black_1000_87</item>
|
<item name="android:textColorPrimary">@color/md_black_1000_87</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user