show loading screen while loading media fragment
* use material components for shaped images and progress indicator
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@ -15,10 +14,12 @@
|
||||
android:layout_gravity="center" />
|
||||
<!-- app:controller_layout_id="@layout/player_custom_control"/>-->
|
||||
|
||||
<ProgressBar
|
||||
<com.google.android.material.progressindicator.ProgressIndicator
|
||||
android:id="@+id/loading"
|
||||
style="@style/Widget.MaterialComponents.ProgressIndicator.Circular.Indeterminate"
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="70dp"
|
||||
android:layout_gravity="center" />
|
||||
android:layout_gravity="center"
|
||||
tools:visibility="visible" />
|
||||
|
||||
</FrameLayout>
|
Reference in New Issue
Block a user