summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorYuli Huang <yuli@google.com>2012-04-02 21:40:25 +0800
committerYuli Huang <yuli@google.com>2012-04-02 22:58:51 +0800
commited56097798bd587243962af29986a314174b60ac (patch)
tree7f3cbf30487d09e754ff2a857dd346e42249eb85 /res/layout
parent49b137806386ff0c8cf5caba4bf7e0a9aab4b7b9 (diff)
downloadandroid_packages_apps_Gallery2-ed56097798bd587243962af29986a314174b60ac.tar.gz
android_packages_apps_Gallery2-ed56097798bd587243962af29986a314174b60ac.tar.bz2
android_packages_apps_Gallery2-ed56097798bd587243962af29986a314174b60ac.zip
Fix b/5974240: Sliders may not be responsive to touches.
Add padding around sliders to increase its touchable areas. Change-Id: I034e25804811b14ce6137c72472191dabd7bdef8
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/photoeditor_color_seekbar.xml7
-rw-r--r--res/layout/photoeditor_effect_tool_panel.xml5
-rw-r--r--res/layout/photoeditor_scale_seekbar.xml7
3 files changed, 5 insertions, 14 deletions
diff --git a/res/layout/photoeditor_color_seekbar.xml b/res/layout/photoeditor_color_seekbar.xml
index fb9386992..ca8509de1 100644
--- a/res/layout/photoeditor_color_seekbar.xml
+++ b/res/layout/photoeditor_color_seekbar.xml
@@ -16,9 +16,4 @@
<com.android.gallery3d.photoeditor.actions.ColorSeekBar
xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="@dimen/seekbar_width"
- android:layout_height="@dimen/seekbar_height"
- android:layout_marginBottom="@dimen/seekbar_margin_bottom"
- android:minHeight="@dimen/seekbar_height"
- android:maxHeight="@dimen/seekbar_height"
- android:progressDrawable="@android:color/transparent"/>
+ style="@style/SeekBar"/>
diff --git a/res/layout/photoeditor_effect_tool_panel.xml b/res/layout/photoeditor_effect_tool_panel.xml
index 7fd92571c..4ffd52d90 100644
--- a/res/layout/photoeditor_effect_tool_panel.xml
+++ b/res/layout/photoeditor_effect_tool_panel.xml
@@ -18,12 +18,13 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:padding="@dimen/effect_tool_panel_padding"
+ android:paddingTop="@dimen/effect_tool_panel_padding_top"
+ android:paddingBottom="@dimen/effect_tool_panel_padding_bottom"
android:background="@color/translucent_black"
android:gravity="center_horizontal"
android:orientation="vertical">
<TextView
android:id="@+id/effect_label"
- style="@style/EffectLabel"/>
+ style="@style/EffectLabelInToolPanel"/>
</LinearLayout>
diff --git a/res/layout/photoeditor_scale_seekbar.xml b/res/layout/photoeditor_scale_seekbar.xml
index d8df19fb0..15fc2346b 100644
--- a/res/layout/photoeditor_scale_seekbar.xml
+++ b/res/layout/photoeditor_scale_seekbar.xml
@@ -16,9 +16,4 @@
<com.android.gallery3d.photoeditor.actions.ScaleSeekBar
xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="@dimen/seekbar_width"
- android:layout_height="@dimen/seekbar_height"
- android:layout_marginBottom="@dimen/seekbar_margin_bottom"
- android:minHeight="@dimen/seekbar_height"
- android:maxHeight="@dimen/seekbar_height"
- android:progressDrawable="@android:color/transparent"/>
+ style="@style/SeekBar"/>