diff options
author | Kenny Root <kroot@google.com> | 2011-01-16 16:59:11 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2011-01-17 09:58:26 -0800 |
commit | 424acfb7ad469efb0a51c69fc8713cc96e2357b0 (patch) | |
tree | 1fc38997c73c168038d6b3260ec9640d561467b2 /res/layout/installed_app_details.xml | |
parent | 6377e47f8b89982ebfa381542a301606a4bbb06d (diff) | |
download | packages_apps_settings-424acfb7ad469efb0a51c69fc8713cc96e2357b0.zip packages_apps_settings-424acfb7ad469efb0a51c69fc8713cc96e2357b0.tar.gz packages_apps_settings-424acfb7ad469efb0a51c69fc8713cc96e2357b0.tar.bz2 |
Measure external storage application usage
Application data usage on the SD card (or USB storage) was not being
reported by the Manage Applications screen. This is important for
upcoming OBB space accounting.
Bug: 3308791
Change-Id: Ibc9ad013cb2f6d0ee28caadca8899c1ff6e78f44
Diffstat (limited to 'res/layout/installed_app_details.xml')
-rw-r--r-- | res/layout/installed_app_details.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/res/layout/installed_app_details.xml b/res/layout/installed_app_details.xml index fff1975..0b68d47 100644 --- a/res/layout/installed_app_details.xml +++ b/res/layout/installed_app_details.xml @@ -132,6 +132,7 @@ android:maxLines="1" /> </LinearLayout> + <LinearLayout android:id="@+id/info_size" android:layout_width="match_parent" @@ -169,6 +170,44 @@ android:maxLines="1" /> </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:baselineAligned="true" + android:paddingTop="-1dip"> + <TextView + android:id="@+id/external_size_prefix" + android:text="@string/external_size_label" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" + android:paddingTop="6dip" + android:paddingLeft="6dip"/> + <ImageView + android:id="@+id/info_size_dots" + android:src="@drawable/dotted_line_480px" + android:layout_width="0dip" + android:layout_weight="1" + android:layout_height="1px" + android:layout_gravity="bottom" + android:layout_marginLeft="1dip" + android:layout_marginRight="1dip" + android:layout_marginBottom="4dip" + android:scaleType="center" /> + <TextView + android:id="@+id/external_size_text" + android:textAppearance="?android:attr/textAppearanceMedium" + android:paddingTop="6dip" + android:paddingRight="6dip" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:maxLines="1" /> + + </LinearLayout> + <!-- Clear data and install location buttons --> <include layout="@layout/two_buttons_panel" |