summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authord34d <clark@cyngn.com>2015-03-04 08:43:55 -0800
committerd34d <clark@cyngn.com>2015-03-04 14:47:46 -0800
commitc763e109e50209c6bd3e3c3e16ae3429199359c1 (patch)
tree78a0700030460822b6a239291551e6d54ea8bc83 /res/layout
parentf4207231fe36963ee977ab85c27ecccbd2b7dd93 (diff)
downloadpackages_apps_ThemeChooser-c763e109e50209c6bd3e3c3e16ae3429199359c1.tar.gz
packages_apps_ThemeChooser-c763e109e50209c6bd3e3c3e16ae3429199359c1.tar.bz2
packages_apps_ThemeChooser-c763e109e50209c6bd3e3c3e16ae3429199359c1.zip
Set min and max height for per app theme ListView
Change-Id: I76a765fdb4f1efb462230a3b6a20436229d9c485
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/per_app_theme_list.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/res/layout/per_app_theme_list.xml b/res/layout/per_app_theme_list.xml
index b3c06f3..1d4e437 100644
--- a/res/layout/per_app_theme_list.xml
+++ b/res/layout/per_app_theme_list.xml
@@ -1,14 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<com.cyngn.theme.perapptheming.PerAppThemeListLayout
xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <ListView
+ <com.cyngn.theme.perapptheming.PerAppThemeListView
android:id="@+id/theme_list"
android:layout_width="@dimen/theme_list_width"
- android:layout_height="@dimen/theme_list_height"
+ android:layout_height="wrap_content"
android:layout_gravity="center_vertical|left"
+ android:minHeight="@dimen/theme_list_min_height"
+ app:maxHeight="@dimen/theme_list_max_height"
android:divider="@android:color/transparent"
android:padding="4dp"
android:elevation="10dp"