diff options
author | Yuli Huang <yuli@google.com> | 2012-04-02 21:40:25 +0800 |
---|---|---|
committer | Yuli Huang <yuli@google.com> | 2012-04-02 22:58:51 +0800 |
commit | 2829298b8f82c02ede53ab116ddb2d964aef4d24 (patch) | |
tree | 7b96b39e9a7dcc3dbe15b6cc178d0d50b1741c07 /res/layout | |
parent | 93466b34a570e12fbb0194b9e7a1b62470498ad9 (diff) | |
download | android_packages_apps_Snap-2829298b8f82c02ede53ab116ddb2d964aef4d24.tar.gz android_packages_apps_Snap-2829298b8f82c02ede53ab116ddb2d964aef4d24.tar.bz2 android_packages_apps_Snap-2829298b8f82c02ede53ab116ddb2d964aef4d24.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.xml | 7 | ||||
-rw-r--r-- | res/layout/photoeditor_effect_tool_panel.xml | 5 | ||||
-rw-r--r-- | res/layout/photoeditor_scale_seekbar.xml | 7 |
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"/> |