summaryrefslogtreecommitdiffstats
path: root/GNexusParts/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'GNexusParts/res/layout')
-rwxr-xr-xGNexusParts/res/layout/preference_colorgamma_presets.xml128
-rw-r--r--GNexusParts/res/layout/preference_dialog_color_tuning.xml35
-rw-r--r--GNexusParts/res/layout/preference_dialog_gamma_tuning.xml19
3 files changed, 113 insertions, 69 deletions
diff --git a/GNexusParts/res/layout/preference_colorgamma_presets.xml b/GNexusParts/res/layout/preference_colorgamma_presets.xml
index bd50287..af85740 100755
--- a/GNexusParts/res/layout/preference_colorgamma_presets.xml
+++ b/GNexusParts/res/layout/preference_colorgamma_presets.xml
@@ -49,70 +49,84 @@
android:src="@drawable/blue_tuning_preview" />
<LinearLayout
- android:layout_width="wrap_content"
+ android:id="@+id/linearLayout1"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_weight="1"
android:layout_below="@+id/imageView0"
- android:orientation="vertical" >
+ android:gravity="center_horizontal" >
- <LinearLayout
- android:layout_width="match_parent"
+ <Button
+ android:id="@+id/btnPreset1"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1" >
-
- <Button
- android:id="@+id/btnPreset1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/preset1_default_title" android:textSize="10dp" android:width="100dp"/>
-
- <Button
- android:id="@+id/btnPreset2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/preset2_default_title" android:textSize="10dp" android:width="100dp"/>
-
- <Button
- android:id="@+id/btnPreset3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/preset3_default_title" android:textSize="10dp" android:width="100dp"/>
- </LinearLayout>
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
-
- <Button
- android:id="@+id/btnPreset4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/preset4_default_title" android:textSize="10dp" android:width="100dp"/>
-
- <Button
- android:id="@+id/btnPreset5"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/preset5_default_title" android:textSize="10dp" android:width="100dp"/>
-
- <Button
- android:id="@+id/btnPreset6"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/preset6_default_title" android:textSize="10dp" android:width="100dp"/>
- </LinearLayout>
-
- <LinearLayout
- android:layout_width="320dp"
+ android:text="@string/preset1_default_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+
+ <Button
+ android:id="@+id/btnPreset2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/preset2_default_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+
+ <Button
+ android:id="@+id/btnPreset3"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1" >
+ android:text="@string/preset3_default_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+ </LinearLayout>
+
+ <LinearLayout
+ android:id="@+id/linearLayout2"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@+id/linearLayout1"
+ android:gravity="center_horizontal" >
- <TextView
- android:id="@+id/textView1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/credits_presets" android:textSize="12dp"/>
+ <Button
+ android:id="@+id/btnPreset4"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/preset4_default_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+
+ <Button
+ android:id="@+id/btnPreset5"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/preset5_default_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+
+ <Button
+ android:id="@+id/btnPreset6"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/preset6_default_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="320dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_below="@+id/linearLayout2" >
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:text="@string/credits_presets"
+ android:textSize="12dp"/>
- </LinearLayout>
</LinearLayout>
</RelativeLayout>
diff --git a/GNexusParts/res/layout/preference_dialog_color_tuning.xml b/GNexusParts/res/layout/preference_dialog_color_tuning.xml
index 068f88c..51883d1 100644
--- a/GNexusParts/res/layout/preference_dialog_color_tuning.xml
+++ b/GNexusParts/res/layout/preference_dialog_color_tuning.xml
@@ -93,25 +93,48 @@
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
android:layout_below="@+id/black_scale_picture_color" >
<Button
- android:id="@+id/btnColorDefault"
+ android:id="@+id/btnColor1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/color_default_title" />
+ android:text="@string/color1_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
<Button
- android:id="@+id/btnColorCM"
+ android:id="@+id/btnColor2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/color_CM_title" />
+ android:text="@string/color2_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
<Button
- android:id="@+id/btnColorDark"
+ android:id="@+id/btnColor3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/color_dark_title" />
+ android:text="@string/color3_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
+
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="320dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_below="@+id/linearLayout1">
+
+ <TextView
+ android:id="@+id/textView1"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dip"
+ android:text="@string/color_warning"
+ android:textSize="12dp"/>
</LinearLayout>
diff --git a/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml b/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml
index 8df2204..c18682f 100644
--- a/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml
+++ b/GNexusParts/res/layout/preference_dialog_gamma_tuning.xml
@@ -117,25 +117,32 @@
android:id="@+id/linearLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
android:layout_below="@+id/black_scale_picture" >
<Button
- android:id="@+id/btnGammaDefault"
+ android:id="@+id/btnGamma1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/gamma_default_title" />
+ android:text="@string/gamma1_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
<Button
- android:id="@+id/btnGammaCM"
+ android:id="@+id/btnGamma2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/gamma_CM_title" />
+ android:text="@string/gamma2_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
<Button
- android:id="@+id/btnGammaBright"
+ android:id="@+id/btnGamma3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:text="@string/gamma_bright_title" />
+ android:text="@string/gamma3_title"
+ android:textSize="12dp"
+ android:width="100dp"/>
</LinearLayout>