diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-21 13:19:06 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2014-07-21 13:19:06 -0700 |
commit | 7bc9c1bce3593a01f261a537a5edbb264316aa1c (patch) | |
tree | 79ca01667eeb727e98b2892cd549a359a12e82fd /res/layout | |
parent | dcf59dd82ca5a5b211461f1c2825623325c3811c (diff) | |
download | packages_apps_Settings-7bc9c1bce3593a01f261a537a5edbb264316aa1c.zip packages_apps_Settings-7bc9c1bce3593a01f261a537a5edbb264316aa1c.tar.gz packages_apps_Settings-7bc9c1bce3593a01f261a537a5edbb264316aa1c.tar.bz2 |
Fix App Notification layout for tabletUI support
- setup correct padding for the App list and its item
See bug: #13140648 Settings needs to support the new Quantum Paper theme
Change-Id: I6c14bb8abced59b636a3230e1daf783130f0f4d3
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/notification_app.xml | 6 | ||||
-rw-r--r-- | res/layout/notification_app_list.xml | 5 |
2 files changed, 7 insertions, 4 deletions
diff --git a/res/layout/notification_app.xml b/res/layout/notification_app.xml index 6818a45..9442de6 100644 --- a/res/layout/notification_app.xml +++ b/res/layout/notification_app.xml @@ -15,7 +15,9 @@ --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="wrap_content" > + android:layout_height="wrap_content" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"> <RelativeLayout android:id="@android:id/button1" @@ -23,7 +25,7 @@ android:layout_height="wrap_content" android:layout_alignWithParentIfMissing="true" android:layout_toStartOf="@+id/settings_divider" - android:background="?android:attr/listChoiceBackgroundIndicator" > + android:background="?android:attr/listChoiceBackgroundIndicator"> <ImageView android:id="@android:id/icon" diff --git a/res/layout/notification_app_list.xml b/res/layout/notification_app_list.xml index 2c5ab40..f680e38 100644 --- a/res/layout/notification_app_list.xml +++ b/res/layout/notification_app_list.xml @@ -18,13 +18,14 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" - android:paddingStart="?android:attr/listPreferredItemPaddingStart"> + android:orientation="vertical"> <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingStart="@dimen/settings_side_margin" + android:paddingEnd="@dimen/settings_side_margin" android:divider="#0000" android:dividerHeight="0px" android:fastScrollAlwaysVisible="true" |