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
This commit is contained in:
Fabrice Di Meglio
2014-07-21 13:19:06 -07:00
parent dcf59dd82c
commit 7bc9c1bce3
2 changed files with 7 additions and 4 deletions

View File

@@ -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"

View File

@@ -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"