Fix up storage UI for old USB storage.
- In the storage overview, if storage is not emulated then we have a new first section showing internal storage. - In manage applications, we know show storage use on the SD card separately from internal storage use. Change-Id: I7eb993f59fdb5de5f5dcfe4a3bc2b95ae30d754a
This commit is contained in:
@@ -134,6 +134,43 @@
|
||||
|
||||
</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_code_size_prefix"
|
||||
android:text="@string/external_code_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_code_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>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/info_size"
|
||||
android:layout_width="match_parent"
|
||||
@@ -179,8 +216,8 @@
|
||||
android:baselineAligned="true"
|
||||
android:paddingTop="-1dip">
|
||||
<TextView
|
||||
android:id="@+id/external_size_prefix"
|
||||
android:text="@string/external_size_label"
|
||||
android:id="@+id/external_data_size_prefix"
|
||||
android:text="@string/external_data_size_label"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -199,7 +236,7 @@
|
||||
android:layout_marginBottom="4dip"
|
||||
android:scaleType="center" />
|
||||
<TextView
|
||||
android:id="@+id/external_size_text"
|
||||
android:id="@+id/external_data_size_text"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
android:paddingTop="6dip"
|
||||
android:paddingRight="6dip"
|
||||
|
Reference in New Issue
Block a user