forked from zhanghai/MaterialProgressBar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.xml
70 lines (60 loc) · 2.82 KB
/
styles.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015 Zhang Hai <[email protected]>
~ All Rights Reserved.
-->
<resources>
<style name="Widget.MaterialProgressBar.ProgressBar.Horizontal" parent="android:Widget.ProgressBar.Horizontal">
<!--
Disabled for correct behavior on Android 4.x, see
https://github.com/android/platform_frameworks_base/commit/911743652b597057a1bd7ef8a921e9ff8dce0f4a#diff-149f45c5ff2d3185bb79688ba17bc432L536
<item name="android:progressDrawable">@null</item>
-->
<item name="android:indeterminateDrawable">@null</item>
<item name="android:minHeight">16dp</item>
<item name="android:maxHeight">16dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar.Horizontal.NoPadding">
<item name="android:minHeight">4dp</item>
<item name="android:maxHeight">4dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar" parent="android:Widget.ProgressBar">
<item name="android:indeterminateDrawable">@null</item>
<!-- We have support for determinate circular progress drawable. -->
<item name="android:indeterminateOnly">false</item>
<item name="android:minWidth">48dp</item>
<item name="android:maxWidth">48dp</item>
<item name="android:minHeight">48dp</item>
<item name="android:maxHeight">48dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar.NoPadding">
<item name="android:minWidth">42dp</item>
<item name="android:maxWidth">42dp</item>
<item name="android:minHeight">42dp</item>
<item name="android:maxHeight">42dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar.Large">
<item name="android:minWidth">76dp</item>
<item name="android:maxWidth">76dp</item>
<item name="android:minHeight">76dp</item>
<item name="android:maxHeight">76dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar.Large.NoPadding">
<item name="android:minWidth">66.5dp</item>
<item name="android:maxWidth">66.5dp</item>
<item name="android:minHeight">66.5dp</item>
<item name="android:maxHeight">66.5dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar.Small">
<item name="android:minWidth">16dp</item>
<item name="android:maxWidth">16dp</item>
<item name="android:minHeight">16dp</item>
<item name="android:maxHeight">16dp</item>
</style>
<style name="Widget.MaterialProgressBar.ProgressBar.Small.NoPadding">
<item name="android:minWidth">14dp</item>
<item name="android:maxWidth">14dp</item>
<item name="android:minHeight">14dp</item>
<item name="android:maxHeight">14dp</item>
</style>
</resources>