1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright (C) 2013-2015 The CyanogenMod Project
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
9 http://www.apache.org/licenses/LICENSE-2.0
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
17 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18 xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent">
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
25 android:gravity="center_horizontal"
26 android:paddingStart="20dip"
27 android:paddingEnd="20dip"
28 android:paddingBottom="20dip">
30 <TextView android:id="@+id/adj_hue_text"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:text="@string/adj_hue_title"
34 android:paddingTop="10dip" />
35 <TextView android:id="@+id/adj_hue_value"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content"
38 android:layout_alignParentRight="true"
39 android:paddingTop="10dip" />
40 <com.android.settings.IntervalSeekBar android:id="@+id/adj_hue_seekbar"
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:layout_below="@id/adj_hue_text"
44 android:paddingTop="2dip"
47 settings:defaultValue="1.00"
48 settings:digits="4" />
50 <TextView android:id="@+id/adj_saturation_text"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_below="@id/adj_hue_seekbar"
54 android:text="@string/adj_saturation_title"
55 android:paddingTop="10dip" />
56 <TextView android:id="@+id/adj_saturation_value"
57 android:layout_width="wrap_content"
58 android:layout_height="wrap_content"
59 android:layout_below="@id/adj_hue_seekbar"
60 android:layout_alignParentRight="true"
61 android:paddingTop="10dip" />
62 <com.android.settings.IntervalSeekBar android:id="@+id/adj_saturation_seekbar"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 android:layout_below="@id/adj_saturation_text"
66 android:paddingTop="2dip"
69 settings:defaultValue="1.00"
70 settings:digits="4" />
72 <TextView android:id="@+id/adj_intensity_text"
73 android:layout_width="match_parent"
74 android:layout_height="wrap_content"
75 android:layout_below="@id/adj_saturation_seekbar"
76 android:text="@string/adj_intensity_title"
77 android:paddingTop="10dip" />
78 <TextView android:id="@+id/adj_intensity_value"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:layout_below="@id/adj_saturation_seekbar"
82 android:layout_alignParentRight="true"
83 android:paddingTop="10dip" />
84 <com.android.settings.IntervalSeekBar android:id="@+id/adj_intensity_seekbar"
85 android:layout_width="match_parent"
86 android:layout_height="wrap_content"
87 android:layout_below="@id/adj_intensity_text"
88 android:paddingTop="2dip"
91 settings:defaultValue="1.00"
92 settings:digits="4" />
94 <TextView android:id="@+id/adj_contrast_text"
95 android:layout_width="match_parent"
96 android:layout_height="wrap_content"
97 android:layout_below="@id/adj_intensity_seekbar"
98 android:text="@string/adj_contrast_title"
99 android:paddingTop="10dip" />
100 <TextView android:id="@+id/adj_contrast_value"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:layout_below="@id/adj_intensity_seekbar"
104 android:layout_alignParentRight="true"
105 android:paddingTop="10dip" />
106 <com.android.settings.IntervalSeekBar android:id="@+id/adj_contrast_seekbar"
107 android:layout_width="match_parent"
108 android:layout_height="wrap_content"
109 android:layout_below="@id/adj_contrast_text"
110 android:paddingTop="2dip"
113 settings:defaultValue="1.00"
114 settings:digits="4" />
117 <ImageView android:id="@+id/black_scale_picture_adjustment"
118 android:src="@drawable/color_tuning_preview"
119 android:layout_width="match_parent"
120 android:layout_height="40dip"
121 android:layout_below="@id/adj_contrast_seekbar"
122 android:paddingTop="20dip" />