mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-27 04:17:57 +01:00
Add toggle to invert page color in reader color filter settings (#5713)
This commit is contained in:
@@ -193,6 +193,16 @@
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
app:layout_constraintTop_toBottomOf="@id/color_filter_mode" />
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
android:id="@+id/inverted_colors"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:text="@string/pref_inverted_colors"
|
||||
android:textColor="?android:attr/textColorSecondary"
|
||||
app:layout_constraintTop_toBottomOf="@id/grayscale" />
|
||||
|
||||
<!-- Brightness -->
|
||||
|
||||
<com.google.android.material.switchmaterial.SwitchMaterial
|
||||
@@ -203,7 +213,7 @@
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:text="@string/pref_custom_brightness"
|
||||
app:layout_constraintTop_toBottomOf="@id/grayscale" />
|
||||
app:layout_constraintTop_toBottomOf="@id/inverted_colors" />
|
||||
|
||||
<!-- Brightness value -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user