mirror of https://github.com/tasks/tasks
Use framework progress bar
parent
b8d649656a
commit
669c8d7dd1
@ -1,11 +1,15 @@
|
||||
<com.rey.material.widget.ProgressView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
<ProgressBar xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:indeterminateOnly="true"
|
||||
android:indeterminate="true"
|
||||
android:indeterminateTintMode="src_atop"
|
||||
android:indeterminateTint="?attr/colorSecondary"
|
||||
android:id="@+id/progress_bar"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="4dp"
|
||||
android:visibility="gone"
|
||||
app:pv_autostart="true"
|
||||
app:pv_circular="false"
|
||||
app:pv_progressMode="indeterminate"
|
||||
app:pv_progressStyle="@style/ProgressViewStyle"/>
|
||||
android:layout_width="match_parent"
|
||||
android:paddingTop="0dp"
|
||||
android:paddingBottom="0dp"
|
||||
android:layout_gravity="top"
|
||||
android:layout_marginTop="-7dp"
|
||||
android:layout_marginBottom="-7dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone" />
|
||||
|
||||
Loading…
Reference in New Issue