Loading res/layout/storage_item.xml +35 −30 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ android:minHeight="?android:attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:paddingTop="16dip" android:paddingBottom="16dip" android:paddingTop="14dp" android:paddingBottom="14dp" android:background="?android:attr/selectableItemBackground" android:clipToPadding="false"> Loading Loading @@ -52,11 +52,15 @@ android:maxHeight="24dp"/> </LinearLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" > <TextView android:id="@android:id/title" android:layout_width="0dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:singleLine="true" android:textAppearance="@android:style/TextAppearance.Material.Subhead" android:textAlignment="viewStart" Loading @@ -70,18 +74,19 @@ android:textAlignment="viewStart" android:textAppearance="@android:style/TextAppearance.Material.Body1" android:textColor="?android:attr/textColorSecondaryNoDisable" android:maxLines="10" /> </LinearLayout> android:maxLines="10" android:layout_alignParentEnd="true"/> <ProgressBar android:id="@android:id/progress" android:layout_width="match_parent" android:layout_height="8dp" android:layout_marginStart="72dp" android:layout_marginTop="16dp" android:layout_marginBottom="8dp" android:layout_marginTop="12dp" android:layout_marginBottom="4dp" android:max="100" android:layout_below="@android:id/title" android:layout_alignStart="@android:id/title" style="?android:attr/progressBarStyleHorizontal" /> </RelativeLayout> </LinearLayout> </LinearLayout> Loading
res/layout/storage_item.xml +35 −30 Original line number Diff line number Diff line Loading @@ -21,8 +21,8 @@ android:minHeight="?android:attr/listPreferredItemHeightSmall" android:gravity="center_vertical" android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" android:paddingTop="16dip" android:paddingBottom="16dip" android:paddingTop="14dp" android:paddingBottom="14dp" android:background="?android:attr/selectableItemBackground" android:clipToPadding="false"> Loading Loading @@ -52,11 +52,15 @@ android:maxHeight="24dp"/> </LinearLayout> <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:gravity="center_vertical" > <TextView android:id="@android:id/title" android:layout_width="0dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:singleLine="true" android:textAppearance="@android:style/TextAppearance.Material.Subhead" android:textAlignment="viewStart" Loading @@ -70,18 +74,19 @@ android:textAlignment="viewStart" android:textAppearance="@android:style/TextAppearance.Material.Body1" android:textColor="?android:attr/textColorSecondaryNoDisable" android:maxLines="10" /> </LinearLayout> android:maxLines="10" android:layout_alignParentEnd="true"/> <ProgressBar android:id="@android:id/progress" android:layout_width="match_parent" android:layout_height="8dp" android:layout_marginStart="72dp" android:layout_marginTop="16dp" android:layout_marginBottom="8dp" android:layout_marginTop="12dp" android:layout_marginBottom="4dp" android:max="100" android:layout_below="@android:id/title" android:layout_alignStart="@android:id/title" style="?android:attr/progressBarStyleHorizontal" /> </RelativeLayout> </LinearLayout> </LinearLayout>