summaryrefslogtreecommitdiffstats
path: root/res/layout/navigation_bar_component_selection_item.xml
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-06-27 18:00:29 -0700
committerClark Scheff <clark@cyngn.com>2014-07-08 18:05:39 +0000
commit5c353f7f233b2d93ae57598e133b9d7faafe4484 (patch)
tree975cc6eeab9ba7e062b5bf4986589821a7bab7d7 /res/layout/navigation_bar_component_selection_item.xml
parenta022bec7fc5fb62b078cf9e5aafc6570686923af (diff)
downloadpackages_apps_ThemeChooser-5c353f7f233b2d93ae57598e133b9d7faafe4484.zip
packages_apps_ThemeChooser-5c353f7f233b2d93ae57598e133b9d7faafe4484.tar.gz
packages_apps_ThemeChooser-5c353f7f233b2d93ae57598e133b9d7faafe4484.tar.bz2
V2 Component selection
Change-Id: Ia383a838369678ae5cc361864a116391d1bbe11f
Diffstat (limited to 'res/layout/navigation_bar_component_selection_item.xml')
-rw-r--r--res/layout/navigation_bar_component_selection_item.xml45
1 files changed, 25 insertions, 20 deletions
diff --git a/res/layout/navigation_bar_component_selection_item.xml b/res/layout/navigation_bar_component_selection_item.xml
index 73b4548..207f4b9 100644
--- a/res/layout/navigation_bar_component_selection_item.xml
+++ b/res/layout/navigation_bar_component_selection_item.xml
@@ -1,27 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="@dimen/component_selection_item_width"
- android:layout_height="@dimen/component_selection_item_height"
- android:background="#000000">
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="@dimen/component_selection_cell_height">
- <ImageView
- android:id="@+id/back"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" />
+ <LinearLayout
+ android:id="@+id/container"
+ android:orientation="vertical"
+ android:layout_width="@dimen/component_selection_content_width"
+ android:layout_height="@dimen/component_selection_content_height"
+ android:layout_marginTop="@dimen/component_margin_top"
+ android:background="#000000"
+ android:layout_centerHorizontal="true">
- <ImageView
- android:id="@+id/home"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" />
+ <ImageView
+ android:id="@+id/back"
+ android:layout_width="match_parent"
+ android:layout_height="0dp"
+ android:layout_weight="1"/>
+
+ </LinearLayout>
- <ImageView
- android:id="@+id/recent"
+ <TextView
+ android:id="@+id/title"
android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1" />
+ android:layout_height="wrap_content"
+ android:layout_below="@id/container"
+ android:layout_centerHorizontal="true"
+ style="@style/component_title"/>
-</LinearLayout> \ No newline at end of file
+</RelativeLayout> \ No newline at end of file