summaryrefslogtreecommitdiffstats
path: root/res/layout/display_picture_adjustment.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/display_picture_adjustment.xml')
-rw-r--r--res/layout/display_picture_adjustment.xml125
1 files changed, 125 insertions, 0 deletions
diff --git a/res/layout/display_picture_adjustment.xml b/res/layout/display_picture_adjustment.xml
new file mode 100644
index 0000000..e1d9da9
--- /dev/null
+++ b/res/layout/display_picture_adjustment.xml
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2013-2015 The CyanogenMod Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center_horizontal"
+ android:paddingStart="20dip"
+ android:paddingEnd="20dip"
+ android:paddingBottom="20dip">
+
+ <TextView android:id="@+id/adj_hue_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/adj_hue_title"
+ android:paddingTop="10dip" />
+ <TextView android:id="@+id/adj_hue_value"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:paddingTop="10dip" />
+ <com.android.settings.IntervalSeekBar android:id="@+id/adj_hue_seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_hue_text"
+ android:paddingTop="2dip"
+ settings:min="0.20"
+ settings:max="1.00"
+ settings:defaultValue="1.00"
+ settings:digits="4" />
+
+ <TextView android:id="@+id/adj_saturation_text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_hue_seekbar"
+ android:text="@string/adj_saturation_title"
+ android:paddingTop="10dip" />
+ <TextView android:id="@+id/adj_saturation_value"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_hue_seekbar"
+ android:layout_alignParentRight="true"
+ android:paddingTop="10dip" />
+ <com.android.settings.IntervalSeekBar android:id="@+id/adj_saturation_seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_saturation_text"
+ android:paddingTop="2dip"
+ settings:min="0.20"
+ settings:max="1.00"
+ settings:defaultValue="1.00"
+ settings:digits="4" />
+
+ <TextView android:id="@+id/adj_intensity_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_saturation_seekbar"
+ android:text="@string/adj_intensity_title"
+ android:paddingTop="10dip" />
+ <TextView android:id="@+id/adj_intensity_value"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_saturation_seekbar"
+ android:layout_alignParentRight="true"
+ android:paddingTop="10dip" />
+ <com.android.settings.IntervalSeekBar android:id="@+id/adj_intensity_seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_intensity_text"
+ android:paddingTop="2dip"
+ settings:min="0.20"
+ settings:max="1.00"
+ settings:defaultValue="1.00"
+ settings:digits="4" />
+
+ <TextView android:id="@+id/adj_contrast_text"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_intensity_seekbar"
+ android:text="@string/adj_contrast_title"
+ android:paddingTop="10dip" />
+ <TextView android:id="@+id/adj_contrast_value"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_intensity_seekbar"
+ android:layout_alignParentRight="true"
+ android:paddingTop="10dip" />
+ <com.android.settings.IntervalSeekBar android:id="@+id/adj_contrast_seekbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/adj_contrast_text"
+ android:paddingTop="2dip"
+ settings:min="0.20"
+ settings:max="1.00"
+ settings:defaultValue="1.00"
+ settings:digits="4" />
+
+
+ <ImageView android:id="@+id/black_scale_picture_adjustment"
+ android:src="@drawable/color_tuning_preview"
+ android:layout_width="match_parent"
+ android:layout_height="40dip"
+ android:layout_below="@id/adj_contrast_seekbar"
+ android:paddingTop="20dip" />
+
+ </RelativeLayout>
+</ScrollView>