summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2015-04-15 14:49:33 -0700
committerClark Scheff <clark@cyngn.com>2015-04-16 16:58:14 +0000
commitdf0a56c9c3f4c260f988f0394bc454b7d78e4f7a (patch)
tree191838ba86002441b60a6d3870486b07f32df881 /res
parent55b7acc31fd9205a3fddfb1ad1bf6f962c3088dd (diff)
downloadpackages_apps_ThemeChooser-df0a56c9c3f4c260f988f0394bc454b7d78e4f7a.zip
packages_apps_ThemeChooser-df0a56c9c3f4c260f988f0394bc454b7d78e4f7a.tar.gz
packages_apps_ThemeChooser-df0a56c9c3f4c260f988f0394bc454b7d78e4f7a.tar.bz2
Make play/stop button touch area larger
The play/stop button can be difficult to press due to it's small size. This patch increases the padding around it to provide more area for touch events. Change-Id: Ic3bbddfe3d5b8845729ebcd3b55599ca9bb6dc08 REF: RENDANG-181 (cherry picked from commit c97e2db7f06d689b7d2bd66ddb307ab5ec6d69e5)
Diffstat (limited to 'res')
-rw-r--r--res/layout/audible_card.xml8
-rw-r--r--res/layout/sound_component_selection_item.xml5
2 files changed, 8 insertions, 5 deletions
diff --git a/res/layout/audible_card.xml b/res/layout/audible_card.xml
index 2c6bd50..b291688 100644
--- a/res/layout/audible_card.xml
+++ b/res/layout/audible_card.xml
@@ -12,7 +12,8 @@
android:id="@+id/label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- style="@style/card_label"/>
+ style="@style/card_label"
+ android:paddingBottom="8dp"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
@@ -31,8 +32,9 @@
style="@style/audible_name"/>
<ImageView
android:id="@+id/play_pause"
- android:layout_width="24dp"
- android:layout_height="24dp"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:padding="8dp"
android:src="@drawable/media_sound_preview"/>
</LinearLayout>
<LinearLayout
diff --git a/res/layout/sound_component_selection_item.xml b/res/layout/sound_component_selection_item.xml
index 5a8b601..e13c47c 100644
--- a/res/layout/sound_component_selection_item.xml
+++ b/res/layout/sound_component_selection_item.xml
@@ -19,8 +19,9 @@
<ImageView
android:id="@+id/play_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ android:padding="8dp"
android:layout_marginEnd="24dp"
android:layout_marginTop="@dimen/component_margin_top"
android:src="@drawable/media_sound_selector_preview"/>