diff options
author | Andy Mast <andy@cyngn.com> | 2014-07-03 15:59:39 -0700 |
---|---|---|
committer | Andy Mast <andy@cyngn.com> | 2014-07-07 14:02:59 -0700 |
commit | 66f10198e64367b60c173ea34c1fc7f8936a0b2c (patch) | |
tree | 848f3f0da68f150cea68fcaa3b39f58e4b8c1218 /res/layout/v2_fragment_pager_list.xml | |
parent | 3a864f06103819671efe1e579958557f3d2cb24f (diff) | |
download | packages_apps_ThemeChooser-66f10198e64367b60c173ea34c1fc7f8936a0b2c.zip packages_apps_ThemeChooser-66f10198e64367b60c173ea34c1fc7f8936a0b2c.tar.gz packages_apps_ThemeChooser-66f10198e64367b60c173ea34c1fc7f8936a0b2c.tar.bz2 |
Use automated previews for all the things
This will pull in the automated previews for wallpaper, status bar,
nav bar, and from the content provider and display them. The typeface
is also correctly shown.
Change-Id: I08147974f9b2e324b670a4cba5ba4728356921b0
Diffstat (limited to 'res/layout/v2_fragment_pager_list.xml')
-rw-r--r-- | res/layout/v2_fragment_pager_list.xml | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/res/layout/v2_fragment_pager_list.xml b/res/layout/v2_fragment_pager_list.xml index cef65f9..e332817 100644 --- a/res/layout/v2_fragment_pager_list.xml +++ b/res/layout/v2_fragment_pager_list.xml @@ -10,15 +10,26 @@ android:layout_gravity="center_vertical" android:divider="@null" android:scrollbars="none" + android:fillViewport="true" android:drawSelectorOnTop="false"> - - <LinearLayout android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical"> - <include layout="@layout/v2item_statusbar"/> - <include layout="@layout/v2item_font"/> - <include layout="@layout/v2item_icon"/> - <include layout="@layout/v2item_navbar"/> - </LinearLayout> + <FrameLayout android:layout_width="match_parent" + android:layout_height="match_parent"> + <ImageView + android:id="@+id/wallpaper" + android:layout_width="match_parent" + android:layout_height="@dimen/theme_preview_height" + android:scaleType="centerCrop" + /> + <RelativeLayout + android:id="@+id/preview_container" + android:layout_width="match_parent" + android:layout_height="@dimen/theme_preview_height" + android:orientation="vertical"> + <include layout="@layout/v2_status_bar_preview_item"/> + <include layout="@layout/v2item_font"/> + <include layout="@layout/v2item_icon"/> + <include layout="@layout/v2_nav_bar_preview_item"/> + </RelativeLayout> + </FrameLayout> </ScrollView> </LinearLayout>
\ No newline at end of file |