From 2c22d6d2040cc846dbaf5152191cc15c5c5995ab Mon Sep 17 00:00:00 2001 From: Adrian Roos Date: Fri, 18 Jul 2014 13:42:01 +0200 Subject: Fix and simplify advanced security settings layout Provides correct padding for tablets and sets background drawable. Bug: 16382821 Change-Id: I0aa0c9f8c6fccb6c201e78075c37a7c7e2315d07 --- res/layout/advanced_security_settings.xml | 40 +++++++++++++------------------ res/layout/trust_agent_item.xml | 10 ++++++++ 2 files changed, 26 insertions(+), 24 deletions(-) (limited to 'res/layout') diff --git a/res/layout/advanced_security_settings.xml b/res/layout/advanced_security_settings.xml index 149b49b..98ff43d 100644 --- a/res/layout/advanced_security_settings.xml +++ b/res/layout/advanced_security_settings.xml @@ -15,31 +15,23 @@ ~ limitations under the License --> - + - + android:layout_height="match_parent" + android:drawSelectorOnTop="false" + android:fastScrollEnabled="true" /> - - - - - + - + diff --git a/res/layout/trust_agent_item.xml b/res/layout/trust_agent_item.xml index e7b3bc8..3555775 100644 --- a/res/layout/trust_agent_item.xml +++ b/res/layout/trust_agent_item.xml @@ -20,15 +20,19 @@ android:layout_height="wrap_content" android:minHeight="?android:attr/listPreferredItemHeight" android:gravity="center_vertical"> + + + + + + + + -- cgit v1.1