Replace circular ProgressBars with Material component

This commit is contained in:
arkon
2020-12-26 11:24:10 -05:00
parent a8e536478c
commit eaccfdde59
14 changed files with 54 additions and 38 deletions
@@ -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="wrap_content"
@@ -101,12 +100,13 @@
android:textColor="@color/md_white_1000"
tools:text="Sample name" />
<ProgressBar
<com.google.android.material.progressindicator.CircularProgressIndicator
android:id="@+id/progress"
style="?android:attr/progressBarStyleSmall"
style="@style/Theme.Widget.CircularProgressIndicator.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:indeterminate="true"
android:visibility="gone" />
</FrameLayout>