diff options
author | djMesias <djmesias@terra.es> | 2012-09-25 12:55:56 +0200 |
---|---|---|
committer | djMesias <djmesias@terra.es> | 2012-09-27 19:27:16 +0200 |
commit | ee755314b87e9844b38f6221072f2678c91e33cb (patch) | |
tree | a638184f0e8f25d0fffa858e762a8b2a12b5949d /GNexusParts/res/layout/preference_colorgamma_presets.xml | |
parent | 8a2b60a901b3efecd9f57d60d33e707e7f2993c3 (diff) | |
download | device_samsung_tuna-ee755314b87e9844b38f6221072f2678c91e33cb.zip device_samsung_tuna-ee755314b87e9844b38f6221072f2678c91e33cb.tar.gz device_samsung_tuna-ee755314b87e9844b38f6221072f2678c91e33cb.tar.bz2 |
GNexusParts improvements
- Fixed button's layout
- Color Adjustment more user friendly
- Warning for values greater than 200 in color adj.
- Presets changes for new values
- Fixed translations for es, en
PatchSet 2:
- Fixed translations for ru, de
- Better button's layout
- Color&Gamma presets can be disabled now if it's not supported by kernel
PatchSet 3:
- Changes in the names of the presets
- Restore original credits
Change-Id: I9c5cefd3f57bc5bd1f59a6b3c13a366225d0043c
Diffstat (limited to 'GNexusParts/res/layout/preference_colorgamma_presets.xml')
-rwxr-xr-x | GNexusParts/res/layout/preference_colorgamma_presets.xml | 128 |
1 files changed, 71 insertions, 57 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> |