diff options
author | Jason Monk <jmonk@google.com> | 2015-07-15 15:22:38 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-07-15 15:22:38 -0400 |
commit | 443513cc0d033ce58bcdd328becedce34c16f932 (patch) | |
tree | 839ec3f1a2ed5c4bbd9cadfe5f85a0a691bb2f30 /res/layout/app_item.xml | |
parent | d7fb46de591943c402dd13551ca603081ac4e6a7 (diff) | |
download | packages_apps_Settings-443513cc0d033ce58bcdd328becedce34c16f932.zip packages_apps_Settings-443513cc0d033ce58bcdd328becedce34c16f932.tar.gz packages_apps_Settings-443513cc0d033ce58bcdd328becedce34c16f932.tar.bz2 |
Disable ignore battery optimization items that can't change
Bug: 22507803
Change-Id: Ia33746dc569f4d9f96242a502e54bcc8eb47bf12
Diffstat (limited to 'res/layout/app_item.xml')
-rw-r--r-- | res/layout/app_item.xml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/res/layout/app_item.xml b/res/layout/app_item.xml index 29dd461..ea0008e 100644 --- a/res/layout/app_item.xml +++ b/res/layout/app_item.xml @@ -21,7 +21,8 @@ android:paddingTop="16dp" android:paddingBottom="16dp" android:gravity="top" - android:columnCount="3"> + android:columnCount="3" + android:duplicateParentState="true"> <ImageView android:id="@android:id/icon" @@ -30,7 +31,8 @@ android:layout_gravity="center" android:scaleType="fitXY" android:layout_marginEnd="16dip" - android:contentDescription="@null" /> + android:contentDescription="@null" + android:duplicateParentState="true" /> <TextView android:id="@android:id/title" @@ -41,7 +43,8 @@ android:ellipsize="marquee" android:textAppearance="@android:style/TextAppearance.Material.Subhead" android:textColor="?android:attr/textColorPrimary" - android:textAlignment="viewStart" /> + android:textAlignment="viewStart" + android:duplicateParentState="true" /> <TextView android:id="@android:id/summary" @@ -54,7 +57,8 @@ android:singleLine="true" android:ellipsize="marquee" android:textAppearance="@android:style/TextAppearance.Material.Subhead" - android:textColor="?android:attr/textColorSecondary" /> + android:textColor="?android:attr/textColorSecondary" + android:duplicateParentState="true" /> <FrameLayout android:id="@android:id/widget_frame" @@ -63,6 +67,7 @@ android:layout_toEndOf="@android:id/icon" android:layout_below="@android:id/title" android:layout_alignParentEnd="true" - android:layout_gravity="fill_horizontal|top" /> + android:layout_gravity="fill_horizontal|top" + android:duplicateParentState="true" /> </RelativeLayout> |