diff options
Diffstat (limited to 'res/layout/wallpaper_component_selection_item.xml')
-rw-r--r-- | res/layout/wallpaper_component_selection_item.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/res/layout/wallpaper_component_selection_item.xml b/res/layout/wallpaper_component_selection_item.xml new file mode 100644 index 0000000..015270f --- /dev/null +++ b/res/layout/wallpaper_component_selection_item.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="@dimen/component_selection_cell_height"> + + <FrameLayout + android:id="@+id/wp_content" + android:layout_width="@dimen/component_selection_content_width" + android:layout_height="@dimen/component_selection_content_height" + android:layout_marginTop="@dimen/component_margin_top" + android:layout_centerHorizontal="true"> + <ImageView + android:id="@+id/icon" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:scaleType="fitCenter"/> + <View + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/wallpaper_border" /> + </FrameLayout> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/wp_content" + android:layout_centerHorizontal="true" + style="@style/component_title"/> + +</RelativeLayout>
\ No newline at end of file |