diff options
author | Clark Scheff <clark@cyngn.com> | 2014-07-29 15:59:42 -0700 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2014-07-29 15:59:42 -0700 |
commit | 69c8e30d7bf528e37cc00e3855ca613c5f259ed7 (patch) | |
tree | c87456401f19a502c667799740acc38e920b5053 /res/layout/bootani_component_selection_item.xml | |
parent | 4c4725ce9b69f3dc8c044789bc3d216b5ca5816f (diff) | |
download | packages_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/bootani_component_selection_item.xml')
-rw-r--r-- | res/layout/bootani_component_selection_item.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/res/layout/bootani_component_selection_item.xml b/res/layout/bootani_component_selection_item.xml index 6d855cc..ce42617 100644 --- a/res/layout/bootani_component_selection_item.xml +++ b/res/layout/bootani_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_boot_anim" android:background="@drawable/component_selection_selector"> @@ -10,14 +11,13 @@ android:layout_width="@dimen/component_selection_bootani_content_width" android:layout_height="@dimen/component_selection_bootani_content_height" 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/preview" - 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 |