Improved downloading experience (#10407)
* added LoadingDialog for improving download experience * [LoadingDialog] Apply some review comments and make title customizable. * removed permission handling from loading Dialog * fix checks * remove <p> Tag from first sentence --------- Co-authored-by: rishabaggarwal <Rishabaggarwal@sharechat.com> Co-authored-by: TobiGr <tobigr@users.noreply.github.com>
This commit is contained in:
parent
b1ab261890
commit
7e2ab0d384
4 changed files with 117 additions and 5 deletions
18
app/src/main/res/layout/download_loading_dialog.xml
Normal file
18
app/src/main/res/layout/download_loading_dialog.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<include
|
||||
android:id="@+id/toolbar_layout"
|
||||
layout="@layout/toolbar_layout" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/loader"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="150dp"
|
||||
android:layout_marginBottom="100dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:indeterminate="true" />
|
||||
</RelativeLayout>
|
||||
|
|
@ -167,6 +167,7 @@
|
|||
<string name="duration_live">Live</string>
|
||||
<string name="downloads">Downloads</string>
|
||||
<string name="downloads_title">Downloads</string>
|
||||
<string name="loading_metadata_title">Loading Metadata…</string>
|
||||
<string name="error_report_title">Error report</string>
|
||||
<string name="all">All</string>
|
||||
<string name="channels">Channels</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue