summaryrefslogtreecommitdiffstats
path: root/res/layout/icon_component_selection_item.xml
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-07-29 15:59:42 -0700
committerClark Scheff <clark@cyngn.com>2014-07-29 15:59:42 -0700
commit69c8e30d7bf528e37cc00e3855ca613c5f259ed7 (patch)
treec87456401f19a502c667799740acc38e920b5053 /res/layout/icon_component_selection_item.xml
parent4c4725ce9b69f3dc8c044789bc3d216b5ca5816f (diff)
downloadpackages_apps_ThemeChooser-69c8e30d7bf528e37cc00e3855ca613c5f259ed7.tar.gz
packages_apps_ThemeChooser-69c8e30d7bf528e37cc00e3855ca613c5f259ed7.tar.bz2
packages_apps_ThemeChooser-69c8e30d7bf528e37cc00e3855ca613c5f259ed7.zip
Use LinearLayouts for component selection items.
Change-Id: I14264293d810c3b0814acaf24438933c1b67d112
Diffstat (limited to 'res/layout/icon_component_selection_item.xml')
-rw-r--r--res/layout/icon_component_selection_item.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/icon_component_selection_item.xml b/res/layout/icon_component_selection_item.xml
index 7e9aba9..7e17853 100644
--- a/res/layout/icon_component_selection_item.xml
+++ b/res/layout/icon_component_selection_item.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="@dimen/component_selection_cell_height"
android:background="@drawable/component_selection_selector">
@@ -12,14 +13,13 @@
android:src="@drawable/ic_app_themes"
android:scaleType="fitCenter"
android:layout_marginTop="@dimen/component_margin_top"
- android:layout_centerHorizontal="true"/>
+ android:layout_gravity="center_horizontal"/>
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_below="@id/icon"
- android:layout_centerHorizontal="true"
+ android:layout_gravity="center_horizontal"
style="@style/component_title"/>
-</RelativeLayout> \ No newline at end of file
+</LinearLayout> \ No newline at end of file