Add toggle to invert page color in reader color filter settings (#5713)

This commit is contained in:
Hunter Nickel
2021-08-15 08:58:01 -06:00
committed by GitHub
parent 2b9dbfb390
commit 4c8dfd0c0c
6 changed files with 39 additions and 8 deletions

View File

@@ -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 -->