diff options
Diffstat (limited to 'res/layout/icon_component_selection_item.xml')
-rw-r--r-- | res/layout/icon_component_selection_item.xml | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/res/layout/icon_component_selection_item.xml b/res/layout/icon_component_selection_item.xml index 8aeb61e..159d7ad 100644 --- a/res/layout/icon_component_selection_item.xml +++ b/res/layout/icon_component_selection_item.xml @@ -1,11 +1,24 @@ <?xml version="1.0" encoding="utf-8"?> -<ImageView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="@dimen/component_selection_item_width" - android:layout_height="@dimen/component_selection_item_height" - android:padding="@dimen/icon_component_margin" - android:src="@drawable/ic_app_themes" - android:scaleType="fitCenter" - android:background="#000000"> - -</ImageView>
\ No newline at end of file +<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/icon" + android:layout_width="@dimen/component_selection_content_width" + android:layout_height="@dimen/component_selection_content_height" + android:src="@drawable/ic_app_themes" + android:scaleType="fitCenter" + android:layout_marginTop="@dimen/component_margin_top" + android:layout_centerHorizontal="true"/> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/icon" + android:layout_centerHorizontal="true" + style="@style/component_title"/> + +</RelativeLayout>
\ No newline at end of file |