From 1337d0f70b18dd732c6a617be83e5be0bb8f2f87 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 14 Oct 2010 11:58:30 -0700 Subject: [PATCH] Implement issue #3094621 and #3094609 - wipe sd card 3094621: add "wipe sd card" option to factory data reset 3094609: collapse unmount/format into one command Implements requested UI changes. Also some final tweaks to Manage Applications. Change-Id: I0219195dd0c74d8c003ef1c3f6e09714859d7f89 --- res/layout/manage_applications.xml | 63 ++++++-- res/layout/master_clear_primary.xml | 45 +++++- res/layout/running_processes_view.xml | 31 +++- res/values/strings.xml | 66 ++++++--- res/xml/device_info_memory.xml | 3 +- src/com/android/settings/MasterClear.java | 35 +++-- src/com/android/settings/MediaFormat.java | 40 ++--- .../settings/applications/LinearColorBar.java | 163 +++++++++++++++++++++ .../settings/applications/ManageApplications.java | 127 +++++++++++++++- .../applications/RunningProcessesView.java | 135 ++++++++--------- .../applications/RunningServiceDetails.java | 26 +++- .../settings/applications/RunningState.java | 132 +++++++++++++---- src/com/android/settings/deviceinfo/Memory.java | 35 +++-- 13 files changed, 696 insertions(+), 205 deletions(-) create mode 100644 src/com/android/settings/applications/LinearColorBar.java diff --git a/res/layout/manage_applications.xml b/res/layout/manage_applications.xml index 27164608f3..078322ace6 100755 --- a/res/layout/manage_applications.xml +++ b/res/layout/manage_applications.xml @@ -18,21 +18,62 @@ android:layout_width="match_parent" android:layout_height="match_parent" > - - - + + + + - + android:layout_height="wrap_content" + android:layout_marginTop="-5dp" + android:orientation="horizontal" + android:paddingTop="30dp" + android:paddingLeft="2dp" + android:paddingRight="2dp" + android:paddingBottom="1dp"> + + + + + - + + + + + + + + + +