mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
progress bar drawable definitions (forgot to commit earlier)
This commit is contained in:
parent
e72caebbce
commit
0a3b4c80c2
2 changed files with 32 additions and 0 deletions
19
res/drawable/actionbar_progress_horizontal.xml
Normal file
19
res/drawable/actionbar_progress_horizontal.xml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<item
|
||||||
|
android:id="@android:id/background"
|
||||||
|
android:drawable="@drawable/owncloud_progress_bg_light" />
|
||||||
|
<item android:id="@android:id/secondaryProgress">
|
||||||
|
<scale
|
||||||
|
android:drawable="@drawable/owncloud_progress_secondary_light"
|
||||||
|
android:scaleWidth="100%" />
|
||||||
|
</item>
|
||||||
|
<item android:id="@android:id/progress">
|
||||||
|
<scale
|
||||||
|
android:drawable="@drawable/owncloud_progress_primary_light"
|
||||||
|
android:scaleWidth="100%" />
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</layer-list>
|
13
res/drawable/actionbar_progress_indeterminate_horizontal.xml
Normal file
13
res/drawable/actionbar_progress_indeterminate_horizontal.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<animation-list
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:oneshot="false">
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_1" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_2" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_3" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_4" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_5" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_6" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_7" android:duration="50" />
|
||||||
|
<item android:drawable="@drawable/owncloud_progressbar_indeterminate_8" android:duration="50" />
|
||||||
|
</animation-list>
|
Loading…
Reference in a new issue