mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2025-01-11 08:39:08 +01:00
More fixes to blue theme
Some of these have existed for a while.. guess no one really uses this theme
This commit is contained in:
parent
4ef4dc2677
commit
b158bc6222
@ -470,6 +470,7 @@ class ReaderActivity :
|
|||||||
binding.appBar.setBackgroundColor(primaryColor)
|
binding.appBar.setBackgroundColor(primaryColor)
|
||||||
window.statusBarColor = Color.TRANSPARENT
|
window.statusBarColor = Color.TRANSPARENT
|
||||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||||
|
binding.toolbar.navigationIcon?.setTint(ContextCompat.getColor(this, R.color.tint_color_secondary))
|
||||||
binding.toolbar.setNavigationOnClickListener {
|
binding.toolbar.setNavigationOnClickListener {
|
||||||
popToMain()
|
popToMain()
|
||||||
}
|
}
|
||||||
|
4
app/src/main/res/color/tint_color_secondary.xml
Normal file
4
app/src/main/res/color/tint_color_secondary.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<item android:alpha=".54" android:color="?actionBarTintColor"/>
|
||||||
|
</selector>
|
@ -58,6 +58,8 @@
|
|||||||
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"
|
||||||
|
app:titleTextColor="?actionBarTintColor"
|
||||||
|
app:subtitleTextColor="@color/tint_color_secondary"
|
||||||
android:background="@drawable/reader_toolbar_ripple" />
|
android:background="@drawable/reader_toolbar_ripple" />
|
||||||
|
|
||||||
</FrameLayout>
|
</FrameLayout>
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
android:layout_marginEnd="8dp"
|
android:layout_marginEnd="8dp"
|
||||||
android:contentDescription="@string/previous_chapter"
|
android:contentDescription="@string/previous_chapter"
|
||||||
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
||||||
app:tint="@color/textColorPrimary"
|
app:tint="?actionBarTintColor"
|
||||||
app:srcCompat="@drawable/ic_skip_previous_24" />
|
app:srcCompat="@drawable/ic_skip_previous_24" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -49,7 +49,7 @@
|
|||||||
android:layout_width="48dp"
|
android:layout_width="48dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textColor="@color/textColorPrimary"
|
android:textColor="?actionBarTintColor"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="12-14" />
|
tools:text="12-14" />
|
||||||
|
|
||||||
@ -58,6 +58,7 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:progressBackgroundTint="?actionBarTintColor"
|
||||||
android:maxHeight="?attr/actionBarSize"
|
android:maxHeight="?attr/actionBarSize"
|
||||||
android:minHeight="?attr/actionBarSize" />
|
android:minHeight="?attr/actionBarSize" />
|
||||||
|
|
||||||
@ -66,7 +67,7 @@
|
|||||||
android:layout_width="48dp"
|
android:layout_width="48dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textColor="@color/textColorPrimary"
|
android:textColor="?actionBarTintColor"
|
||||||
android:textSize="15sp"
|
android:textSize="15sp"
|
||||||
tools:text="15" />
|
tools:text="15" />
|
||||||
|
|
||||||
@ -82,7 +83,7 @@
|
|||||||
android:background="?selectableItemBackgroundBorderless"
|
android:background="?selectableItemBackgroundBorderless"
|
||||||
android:contentDescription="@string/next_chapter"
|
android:contentDescription="@string/next_chapter"
|
||||||
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
||||||
app:tint="@color/textColorPrimary"
|
app:tint="?actionBarTintColor"
|
||||||
app:srcCompat="@drawable/ic_skip_next_24" />
|
app:srcCompat="@drawable/ic_skip_next_24" />
|
||||||
|
|
||||||
<ProgressBar
|
<ProgressBar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user