OSDN Git Service

Improve the add-device-admin layout.
authorChris Palmer <palmer@google.com>
Mon, 13 Sep 2010 22:14:55 +0000 (15:14 -0700)
committerChris Palmer <palmer@google.com>
Tue, 28 Sep 2010 17:32:49 +0000 (10:32 -0700)
commit51794a05ad044ad87efd8291b8decb71a9b5455e
tree7b217852dc51abd16a5b280ef411b6cb98934e82
parent54e21852f221c183eba12e1706650cdc7e0a395f
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
src/com/android/settings/DeviceAdminAdd.java