summaryrefslogtreecommitdiffstats
path: root/res/layout/bootanim_card.xml
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-07-29 12:15:56 -0700
committerClark Scheff <clark@cyngn.com>2014-07-29 13:36:38 -0700
commit89df9342c934e750c11d1402f4b5c51b34defdec (patch)
treea132efce032474022c0bac3772e96268e5a089e7 /res/layout/bootanim_card.xml
parente71e42f7304f5e6ba563a48de4ce1e70c94776ef (diff)
downloadpackages_apps_ThemeChooser-89df9342c934e750c11d1402f4b5c51b34defdec.tar.gz
packages_apps_ThemeChooser-89df9342c934e750c11d1402f4b5c51b34defdec.tar.bz2
packages_apps_ThemeChooser-89df9342c934e750c11d1402f4b5c51b34defdec.zip
Remove v1 code and resources and refactor v2 chooser.
Change-Id: Ic617365b3d26944e11c592b1508b4170ddb2871e
Diffstat (limited to 'res/layout/bootanim_card.xml')
-rw-r--r--res/layout/bootanim_card.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/res/layout/bootanim_card.xml b/res/layout/bootanim_card.xml
new file mode 100644
index 0000000..99b2c9a
--- /dev/null
+++ b/res/layout/bootanim_card.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.cyngn.theme.chooser.ComponentCardView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/bootani_preview_container"
+ android:layout_width="match_parent"
+ android:layout_height="320dp"
+ android:orientation="vertical"
+ android:background="@drawable/card_bootanim_bg">
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+ <com.cyngn.theme.widget.BootAniImageView
+ android:id="@+id/bootani_preview"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/expanded_card_margin_top"
+ android:adjustViewBounds="true"
+ android:layout_gravity="center"/>
+ <TextView
+ android:id="@+id/label"
+ android:layout_width="match_parent"
+ android:layout_height="24dp"
+ android:text="@string/boot_animation_label"
+ style="@style/card_label"/>
+ </FrameLayout>
+</com.cyngn.theme.chooser.ComponentCardView>