Skip to content

Commit

Permalink
Issue #542 manual download crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yeriomin committed Oct 14, 2018
1 parent 6421841 commit c827670
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions app/src/main/res/layout/manual_download_activity_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@
android:hint="@string/manual_download_hint_version_code"
android:inputType="number" />

<ProgressBar
android:id="@+id/download_progress"
android:layout_width="match_parent"
android:layout_height="2dp"
android:paddingLeft="4dp"
android:paddingRight="4dp"
android:paddingStart="4dp"
android:paddingEnd="4dp"
android:indeterminate="false"
android:visibility="gone"
style="@android:style/Widget.ProgressBar.Horizontal" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
Expand All @@ -73,6 +61,32 @@
android:visibility="gone"
android:text="@string/details_download" />

<LinearLayout
android:id="@+id/download_progress_container"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="5"
android:padding="6dp"
android:visibility="gone"
android:orientation="vertical">

<TextView
android:id="@+id/download_progress_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_gravity="center_vertical|end"/>

<ProgressBar
android:layout_width="match_parent"
android:layout_height="4dp"
android:layout_weight="1"
android:id="@+id/download_progress"
android:indeterminate="false"
style="@android:style/Widget.ProgressBar.Horizontal" />

</LinearLayout>

<ImageButton
android:id="@+id/cancel"
android:layout_width="48dp"
Expand Down

0 comments on commit c827670

Please sign in to comment.