From cd91128a2de5d111c59fe442c72b764d9a9acb3a Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Tue, 24 Feb 2015 11:35:29 -0500 Subject: [PATCH] Split app info into several screens The root screen now only has the uninstall/force stop/disable buttons and the rest has moved to sub screens listed in a preference list. The root screen as UI approximate to the new mocks, but the separated screens (storage, launch by default, etc.) have yet to receive their visual overhaul. Bug: 19511439 Change-Id: I4e01fbaefc69e0652edea2429d9e9b028c78e825 --- ...notification_header.xml => app_header.xml} | 0 res/layout/app_preferred_settings.xml | 79 ++ res/layout/installed_app_details.xml | 459 +----- res/layout/permission_settings.xml | 88 ++ res/layout/storage_settings.xml | 307 ++++ res/values/strings.xml | 33 + res/xml/installed_app_details.xml | 47 + src/com/android/settings/AppHeader.java | 57 + .../settings/applications/AppInfoBase.java | 188 +++ .../applications/AppInfoWithHeader.java | 40 + .../applications/AppLaunchSettings.java | 190 +++ .../applications/AppPermissionSettings.java | 221 +++ .../applications/AppStorageSettings.java | 501 +++++++ .../applications/HeaderPreference.java | 60 + .../applications/InstalledAppDetails.java | 1262 +++-------------- .../notification/AppNotificationSettings.java | 27 +- 16 files changed, 2066 insertions(+), 1493 deletions(-) rename res/layout/{app_notification_header.xml => app_header.xml} (100%) create mode 100644 res/layout/app_preferred_settings.xml create mode 100644 res/layout/permission_settings.xml create mode 100644 res/layout/storage_settings.xml create mode 100644 res/xml/installed_app_details.xml create mode 100644 src/com/android/settings/AppHeader.java create mode 100644 src/com/android/settings/applications/AppInfoBase.java create mode 100644 src/com/android/settings/applications/AppInfoWithHeader.java create mode 100644 src/com/android/settings/applications/AppLaunchSettings.java create mode 100644 src/com/android/settings/applications/AppPermissionSettings.java create mode 100644 src/com/android/settings/applications/AppStorageSettings.java create mode 100644 src/com/android/settings/applications/HeaderPreference.java diff --git a/res/layout/app_notification_header.xml b/res/layout/app_header.xml similarity index 100% rename from res/layout/app_notification_header.xml rename to res/layout/app_header.xml diff --git a/res/layout/app_preferred_settings.xml b/res/layout/app_preferred_settings.xml new file mode 100644 index 00000000000..7c6a45f04de --- /dev/null +++ b/res/layout/app_preferred_settings.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + +