|
@@ -6,6 +6,12 @@
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
android:padding="16dp">
|
|
|
|
|
|
+ <android.support.v4.widget.Space
|
|
|
+ android:id="@+id/spinner_end"
|
|
|
+ android:layout_width="16dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintLeft_toRightOf="parent" />
|
|
|
+
|
|
|
<!-- Color filter -->
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
@@ -157,6 +163,27 @@
|
|
|
app:layout_constraintBottom_toBottomOf="@id/seekbar_color_filter_alpha"
|
|
|
app:layout_constraintRight_toRightOf="parent"/>
|
|
|
|
|
|
+ <!-- Filter mode -->
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/color_filter_mode_text"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/pref_color_filter_mode"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toLeftOf="@id/color_filter_mode"
|
|
|
+ app:layout_constraintBaseline_toBaselineOf="@id/color_filter_mode"/>
|
|
|
+
|
|
|
+ <android.support.v7.widget.AppCompatSpinner
|
|
|
+ android:id="@+id/color_filter_mode"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:entries="@array/color_filter_modes"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/seekbar_color_filter_alpha"
|
|
|
+ app:layout_constraintLeft_toRightOf="@id/verticalcenter"
|
|
|
+ app:layout_constraintRight_toRightOf="@id/spinner_end" />
|
|
|
+
|
|
|
<!-- Brightness -->
|
|
|
|
|
|
<android.support.v7.widget.SwitchCompat
|
|
@@ -165,7 +192,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="16dp"
|
|
|
android:text="@string/pref_custom_brightness"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/seekbar_color_filter_alpha"/>
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/color_filter_mode_text"/>
|
|
|
|
|
|
<!-- Brightness value -->
|
|
|
|
|
@@ -202,4 +229,11 @@
|
|
|
app:layout_constraintBottom_toBottomOf="@id/brightness_seekbar"
|
|
|
app:layout_constraintRight_toRightOf="parent"/>
|
|
|
|
|
|
+ <android.support.constraint.Guideline
|
|
|
+ android:id="@+id/verticalcenter"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constraintGuide_percent="0.5" />
|
|
|
+
|
|
|
</android.support.constraint.ConstraintLayout>
|