mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 15:21:51 +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)
|
||||
window.statusBarColor = Color.TRANSPARENT
|
||||
supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
binding.toolbar.navigationIcon?.setTint(ContextCompat.getColor(this, R.color.tint_color_secondary))
|
||||
binding.toolbar.setNavigationOnClickListener {
|
||||
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:layout_width="match_parent"
|
||||
android:layout_height="?attr/actionBarSize"
|
||||
app:titleTextColor="?actionBarTintColor"
|
||||
app:subtitleTextColor="@color/tint_color_secondary"
|
||||
android:background="@drawable/reader_toolbar_ripple" />
|
||||
|
||||
</FrameLayout>
|
||||
|
@ -36,7 +36,7 @@
|
||||
android:layout_marginEnd="8dp"
|
||||
android:contentDescription="@string/previous_chapter"
|
||||
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
||||
app:tint="@color/textColorPrimary"
|
||||
app:tint="?actionBarTintColor"
|
||||
app:srcCompat="@drawable/ic_skip_previous_24" />
|
||||
|
||||
<LinearLayout
|
||||
@ -49,7 +49,7 @@
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/textColorPrimary"
|
||||
android:textColor="?actionBarTintColor"
|
||||
android:textSize="15sp"
|
||||
tools:text="12-14" />
|
||||
|
||||
@ -58,6 +58,7 @@
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:progressBackgroundTint="?actionBarTintColor"
|
||||
android:maxHeight="?attr/actionBarSize"
|
||||
android:minHeight="?attr/actionBarSize" />
|
||||
|
||||
@ -66,7 +67,7 @@
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/textColorPrimary"
|
||||
android:textColor="?actionBarTintColor"
|
||||
android:textSize="15sp"
|
||||
tools:text="15" />
|
||||
|
||||
@ -82,7 +83,7 @@
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:contentDescription="@string/next_chapter"
|
||||
android:padding="@dimen/material_layout_keylines_screen_edge_margin"
|
||||
app:tint="@color/textColorPrimary"
|
||||
app:tint="?actionBarTintColor"
|
||||
app:srcCompat="@drawable/ic_skip_next_24" />
|
||||
|
||||
<ProgressBar
|
||||
|
Loading…
Reference in New Issue
Block a user