mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 12:21:51 +01:00
Added Notch support
+ removed force dark where needed Co-Authored-By: tonarii <tonarii@users.noreply.github.com>
This commit is contained in:
parent
8b69813f34
commit
dd25736fb9
@ -347,6 +347,7 @@ class PagerPageHolder(
|
||||
})
|
||||
}
|
||||
addView(subsamplingImageView)
|
||||
subsamplingImageView?.isForceDarkAllowed = false
|
||||
return subsamplingImageView!!
|
||||
}
|
||||
|
||||
|
@ -8,7 +8,8 @@
|
||||
android:background="?android:colorBackground"
|
||||
android:clipToPadding="false"
|
||||
android:orientation="vertical"
|
||||
android:padding="@dimen/material_component_dialogs_padding_around_content_area">
|
||||
android:padding="@dimen/material_component_dialogs_padding_around_content_area"
|
||||
android:forceDarkAllowed="false">
|
||||
|
||||
<!-- General preferences -->
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources></resources>
|
19
app/src/main/res/values-v27/styles.xml
Normal file
19
app/src/main/res/values-v27/styles.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Base.Theme.AppCompat" parent="@style/Base.V26.Theme.AppCompat" />
|
||||
<style name="Base.Theme.AppCompat.Light" parent="@style/Base.V26.Theme.AppCompat.Light" />
|
||||
<style name="Base.Widget.AppCompat.Toolbar" parent="@style/Base.V26.Widget.AppCompat.Toolbar" />
|
||||
<style name="Base.V26.Theme.AppCompat" parent="@style/Base.V23.Theme.AppCompat">
|
||||
<item name="colorError">?android:colorError</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
</style>
|
||||
<style name="Base.V26.Theme.AppCompat.Light" parent="@style/Base.V23.Theme.AppCompat.Light">
|
||||
<item name="colorError">?android:colorError</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
</style>
|
||||
<style name="Base.V26.Widget.AppCompat.Toolbar" parent="@style/Base.V7.Widget.AppCompat.Toolbar">
|
||||
<item name="android:touchscreenBlocksFocus">true</item>
|
||||
<item name="android:keyboardNavigationCluster">true</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user