diff options
author | Jason Monk <jmonk@google.com> | 2015-05-12 11:33:34 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-05-12 14:58:09 -0400 |
commit | c27f9e179adef2061e0000385f350874a7772c4e (patch) | |
tree | 05499c81aaf1111f2757121fc0adfdfef83b2d3f /res/xml | |
parent | 41f47bbcb301ebdf27069ccb76395d303bf17144 (diff) | |
download | packages_apps_Settings-c27f9e179adef2061e0000385f350874a7772c4e.tar.gz packages_apps_Settings-c27f9e179adef2061e0000385f350874a7772c4e.tar.bz2 packages_apps_Settings-c27f9e179adef2061e0000385f350874a7772c4e.zip |
App info > storage updates
- Fix button theme
- Hide move dropdown when can't move
- Cleanup by switching to using a horizontal preference layout, rather
than custom layouts
Bug: 21060534
Change-Id: I2cc3ab4063ff6b4dfe873f9152b34130d702faae
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/app_storage_settings.xml | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/res/xml/app_storage_settings.xml b/res/xml/app_storage_settings.xml index 6baaae1db..5bb9204fa 100644 --- a/res/xml/app_storage_settings.xml +++ b/res/xml/app_storage_settings.xml @@ -23,12 +23,54 @@ android:summary="@string/storage_type_internal" android:selectable="true" /> - <com.android.settings.applications.LayoutPreference - android:key="storage_settings" - android:layout="@layout/app_storage_settings" /> + <PreferenceCategory + android:key="storage_category" + android:layout="@layout/tall_preference_category" + android:title="@string/storage_label"> + + <Preference + android:key="total_size" + android:title="@string/total_size_label" + android:selectable="false" + android:layout="@layout/horizontal_preference" /> + + <Preference + android:key="app_size" + android:title="@string/application_size_label" + android:selectable="false" + android:layout="@layout/horizontal_preference" /> + + <Preference + android:key="external_code_size" + android:title="@string/external_code_size_label" + android:selectable="false" + android:layout="@layout/horizontal_preference" /> + + <Preference + android:key="data_size" + android:title="@string/data_size_label" + android:selectable="false" + android:layout="@layout/horizontal_preference" /> + + <Preference + android:key="external_data_size" + android:title="@string/external_data_size_label" + android:selectable="false" + android:layout="@layout/horizontal_preference" /> + + <com.android.settings.applications.LayoutPreference + android:key="clear_data_button" + android:layout="@layout/single_button_panel" /> + </PreferenceCategory> + + <Preference + android:key="cache_size" + android:title="@string/cache_size_label" + android:layout="@layout/horizontal_preference" /> <com.android.settings.applications.LayoutPreference - android:key="cache_settings" - android:layout="@layout/app_cache_settings" /> + android:key="clear_cache_button" + android:selectable="false" + android:layout="@layout/single_button_panel" /> </PreferenceScreen> |