Always show the size of the updates
This is now possible since the size is included in the JSON. Change-Id: Ie38ccfbdc7abb0e4b86e8e625ed8d131376402e7
This commit is contained in:
@@ -43,23 +43,40 @@
|
||||
android:textSize="14sp"
|
||||
tools:text="29 February 2018" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress_bar"
|
||||
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8dp"
|
||||
android:visibility="gone"
|
||||
tools:progress="65"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/progress_text"
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:ellipsize="marquee"
|
||||
android:singleLine="true"
|
||||
tools:text="162 of 300 MB (3 minutes left) • 65%" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/progress_bar"
|
||||
style="@style/Widget.AppCompat.ProgressBar.Horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="4sp"
|
||||
android:visibility="invisible"
|
||||
tools:progress="65"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/progress_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/progress_bar"
|
||||
android:ellipsize="marquee"
|
||||
android:singleLine="true"
|
||||
android:visibility="invisible"
|
||||
tools:text="162 of 300 MB (3 minutes left) • 65%"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/build_size"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8sp"
|
||||
android:singleLine="true"
|
||||
tools:text="300 MB"
|
||||
tools:visibility="invisible" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
|
Reference in New Issue
Block a user