From 51794a05ad044ad87efd8291b8decb71a9b5455e Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Mon, 13 Sep 2010 15:14:55 -0700 Subject: Improve the add-device-admin layout. Make it so that the app's explanation comes before the list of possible policies. This gives the app a chance to explain itself instead of having the explanation hidden below the fold. To avoid situations in which one bunch of text items can obscure the other, use an expandable/ellipsizable TextView with an indicator image. This resolves b/2992594. Change-Id: I0eb0d0c46bb4be2ec2e019d741915537e1fcc592 --- res/layout/device_admin_add.xml | 98 +++++++++++++++++++++++++---------------- 1 file changed, 61 insertions(+), 37 deletions(-) (limited to 'res/layout/device_admin_add.xml') diff --git a/res/layout/device_admin_add.xml b/res/layout/device_admin_add.xml index f560331ac..f3ba59e7f 100644 --- a/res/layout/device_admin_add.xml +++ b/res/layout/device_admin_add.xml @@ -20,30 +20,32 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> + + + + + + android:layout_height="0dip" + android:layout_weight="1.0" + android:gravity="top"> - - - + - - - - + android:orientation="vertical"> + + + + + + + + + + + + -- cgit v1.2.3