summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/layout/live_lock_component_selection_item.xml35
-rw-r--r--res/values/dimens.xml1
2 files changed, 36 insertions, 0 deletions
diff --git a/res/layout/live_lock_component_selection_item.xml b/res/layout/live_lock_component_selection_item.xml
new file mode 100644
index 0000000..d9414ba
--- /dev/null
+++ b/res/layout/live_lock_component_selection_item.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 Cyanogen, Inc.
+-->
+<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_live_lock"
+ android:background="@drawable/component_selection_selector">
+
+ <FrameLayout
+ android:id="@+id/wp_content"
+ android:layout_width="@dimen/component_selection_live_lock_screen_content_width"
+ android:layout_height="@dimen/component_selection_live_lock_screen_content_height"
+ android:layout_marginTop="@dimen/component_margin_top"
+ android:layout_gravity="center_horizontal">
+ <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>
+
+ <com.cyngn.theme.widget.LatoTextView
+ android:id="@+id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ style="@style/component_title"/>
+
+</LinearLayout> \ No newline at end of file
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 8eb7bcb..4c77bae 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -14,6 +14,7 @@
<dimen name="component_selection_cell_width">80dp</dimen>
<dimen name="component_selection_cell_height">112dp</dimen>
<dimen name="component_selection_cell_height_boot_anim">203dp</dimen>
+ <dimen name="component_selection_cell_height_live_lock">203dp</dimen>
<dimen name="component_selection_cell_height_sounds">120dp</dimen>
<dimen name="component_selection_content_width">48dp</dimen>
<dimen name="component_selection_content_height">@dimen/component_selection_content_width</dimen>