Skip to content

Commit

Permalink
fixed anime/chapter list theme for OLED
Browse files Browse the repository at this point in the history
  • Loading branch information
aayush2622 committed Jan 23, 2024
1 parent 3ec4886 commit 9fa422e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/res/layout/item_chapter_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
android:id="@+id/listAppBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorSurfaceVariant"
android:theme="@style/Theme.Dantotsu.AppBarOverlay">
android:background="?attr/colorSurfaceVariant">

<LinearLayout
android:layout_width="match_parent"
Expand Down
9 changes: 9 additions & 0 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,46 +270,55 @@
<style name="Theme.Dantotsu.BlueOLED" parent="Theme.Dantotsu.Blue">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.GreenOLED" parent="Theme.Dantotsu.Green">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.PurpleOLED" parent="Theme.Dantotsu.Purple">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.PinkOLED" parent="Theme.Dantotsu.Pink">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.MonochromeOLED" parent="Theme.Dantotsu.Monochrome">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.RedOLED" parent="Theme.Dantotsu.Red">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.LavenderOLED" parent="Theme.Dantotsu.Lavender">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.SaikouOLED" parent="Theme.Dantotsu.Saikou">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

<style name="Theme.Dantotsu.OceanOLED" parent="Theme.Dantotsu.Ocean">
<item name="android:colorBackground">@color/darkest_Black</item>
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>

</resources>
1 change: 1 addition & 0 deletions app/src/main/res/values/style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<item name="android:colorBackground">@color/darkest_Black</item>
<!-- set colorSurface to black -->
<item name="colorSurface">@color/darkest_Black</item>
<item name="colorSurfaceVariant">@color/nav_bg</item>
</style>


Expand Down

0 comments on commit 9fa422e

Please sign in to comment.