diff options
author | Luis Vidal <lvidal@cyngn.com> | 2015-12-17 23:18:06 -0800 |
---|---|---|
committer | Clark Scheff <clark@cyngn.com> | 2015-12-19 00:31:32 +0000 |
commit | eeba8cfe7d6055a562b582ef156f80c10060cb2d (patch) | |
tree | b8c1ead2416db99214fcdebd22b1d2d66b5e7261 /res | |
parent | a4cd1b3165622cec23d9c6f80337807037af38bd (diff) | |
download | packages_apps_ThemeChooser-eeba8cfe7d6055a562b582ef156f80c10060cb2d.tar.gz packages_apps_ThemeChooser-eeba8cfe7d6055a562b582ef156f80c10060cb2d.tar.bz2 packages_apps_ThemeChooser-eeba8cfe7d6055a562b582ef156f80c10060cb2d.zip |
Live Lock screen selection
Change-Id: Ie1a13d9775e85b61c611ee6037856fef1578c4a8
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/live_lock_component_selection_item.xml | 35 | ||||
-rw-r--r-- | res/values/dimens.xml | 1 |
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> |