diff options
author | Amith Yamasani <yamasani@google.com> | 2011-01-24 16:02:11 -0800 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2011-01-24 16:24:55 -0800 |
commit | a1d01841664131eca201acfaf747f1f187de10f6 (patch) | |
tree | 981992084d4395ab9e3cc3c2bce3d98df55b78ec /res/layout/device_admin_settings.xml | |
parent | 22c060ebd14bd92c67bd97f53d67bb06f0a215de (diff) | |
download | packages_apps_Settings-a1d01841664131eca201acfaf747f1f187de10f6.zip packages_apps_Settings-a1d01841664131eca201acfaf747f1f187de10f6.tar.gz packages_apps_Settings-a1d01841664131eca201acfaf747f1f187de10f6.tar.bz2 |
Tabletize Device administrator screen and fix the layout for DeviceAdminAdd.
Bug: 3376986
Convert the DeviceAdminSettings screen to a fragment, remove fat titlebar.
Convert the DeviceAdminAdd screen to layout nicely in the new holo DialogWhenLarge
style.
Change-Id: I20a9d16aed135a2178969dfff807075b0b79237c
Diffstat (limited to 'res/layout/device_admin_settings.xml')
-rw-r--r-- | res/layout/device_admin_settings.xml | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/res/layout/device_admin_settings.xml b/res/layout/device_admin_settings.xml index eaf42fe..669ac3c 100644 --- a/res/layout/device_admin_settings.xml +++ b/res/layout/device_admin_settings.xml @@ -18,27 +18,10 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:background="@*android:drawable/title_bar_medium"> - <TextView - android:layout_width="match_parent" - android:layout_height="match_parent" - android:text="@string/select_device_admin_msg" - android:gravity="center" - android:textAppearance="?android:attr/textAppearanceLarge" - android:textColor="?android:attr/textColorPrimary" - android:shadowColor="?android:attr/colorBackground" - android:shadowRadius="2" /> - </LinearLayout> <FrameLayout android:layout_width="match_parent" android:layout_height="0px" - android:layout_weight="1" - android:paddingTop="10dip" - android:paddingBottom="10dip"> + android:layout_weight="1"> <ListView android:id="@android:id/list" android:layout_width="match_parent" android:layout_height="match_parent" @@ -49,6 +32,6 @@ android:layout_height="match_parent" android:gravity="center" android:text="@string/no_device_admins" - android:textAppearance="?android:attr/textAppearanceLarge" /> + android:textAppearance="?android:attr/textAppearanceMedium" /> </FrameLayout> </LinearLayout> |