summaryrefslogtreecommitdiffstats
path: root/res/layout/sound_component_selection_item.xml
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-07-09 15:49:03 -0700
committerd34d <clark@cyngn.com>2014-07-10 08:35:10 -0700
commite7a0b1076f5e2ccf4c2a84dc58e97a296e83b4d0 (patch)
treea3c8f89aa60fc77dd90694c69dbb56070b99c116 /res/layout/sound_component_selection_item.xml
parent95daf276638aae28ab567fce1bfb0088818e2d85 (diff)
downloadpackages_apps_ThemeChooser-e7a0b1076f5e2ccf4c2a84dc58e97a296e83b4d0.zip
packages_apps_ThemeChooser-e7a0b1076f5e2ccf4c2a84dc58e97a296e83b4d0.tar.gz
packages_apps_ThemeChooser-e7a0b1076f5e2ccf4c2a84dc58e97a296e83b4d0.tar.bz2
Add component selection for sounds.
Change-Id: Ib72c4c3a97bde11a6a5547c1c8f15b3e5059bb1a
Diffstat (limited to 'res/layout/sound_component_selection_item.xml')
-rw-r--r--res/layout/sound_component_selection_item.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/res/layout/sound_component_selection_item.xml b/res/layout/sound_component_selection_item.xml
new file mode 100644
index 0000000..693840e
--- /dev/null
+++ b/res/layout/sound_component_selection_item.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/title"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginStart="24dp"
+ android:layout_marginTop="@dimen/component_margin_top"
+ android:gravity="center_vertical"
+ style="@style/component_sound_title"/>
+
+ <ImageView
+ android:id="@+id/play_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="24dp"
+ android:layout_marginTop="@dimen/component_margin_top"
+ android:src="@drawable/media_sound__selector_preview"/>
+
+</LinearLayout> \ No newline at end of file