rounded of corners of progress bars and added visible background
This commit is contained in:
@@ -3,11 +3,12 @@
|
|||||||
<!-- Define the background properties like color etc -->
|
<!-- Define the background properties like color etc -->
|
||||||
<item android:id="@android:id/background">
|
<item android:id="@android:id/background">
|
||||||
<shape>
|
<shape>
|
||||||
|
<corners android:radius="10dp"/>
|
||||||
<gradient
|
<gradient
|
||||||
android:startColor="#000000"
|
android:startColor="#101010"
|
||||||
android:centerColor="#000000"
|
android:centerColor="#202020"
|
||||||
android:centerY="1.0"
|
android:centerY="0.5"
|
||||||
android:endColor="#000000"
|
android:endColor="#101010"
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
/>
|
/>
|
||||||
</shape>
|
</shape>
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
<item android:id="@android:id/progress">
|
<item android:id="@android:id/progress">
|
||||||
<clip>
|
<clip>
|
||||||
<shape>
|
<shape>
|
||||||
|
<corners android:radius="10dp"/>
|
||||||
<gradient
|
<gradient
|
||||||
android:startColor="#0000ff"
|
android:startColor="#0000ff"
|
||||||
android:centerColor="#8080ff"
|
android:centerColor="#8080ff"
|
||||||
|
|||||||
@@ -3,11 +3,12 @@
|
|||||||
<!-- Define the background properties like color etc -->
|
<!-- Define the background properties like color etc -->
|
||||||
<item android:id="@android:id/background">
|
<item android:id="@android:id/background">
|
||||||
<shape>
|
<shape>
|
||||||
|
<corners android:radius="10dp"/>
|
||||||
<gradient
|
<gradient
|
||||||
android:startColor="#000000"
|
android:startColor="#101010"
|
||||||
android:centerColor="#000000"
|
android:centerColor="#202020"
|
||||||
android:centerY="1.0"
|
android:centerY="0.5"
|
||||||
android:endColor="#000000"
|
android:endColor="#101010"
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
/>
|
/>
|
||||||
</shape>
|
</shape>
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
<item android:id="@android:id/progress">
|
<item android:id="@android:id/progress">
|
||||||
<clip>
|
<clip>
|
||||||
<shape>
|
<shape>
|
||||||
|
<corners android:radius="5dp"/>
|
||||||
<gradient
|
<gradient
|
||||||
android:startColor="#ff0000"
|
android:startColor="#ff0000"
|
||||||
android:centerColor="#ffa0a0"
|
android:centerColor="#ffa0a0"
|
||||||
|
|||||||
@@ -3,11 +3,12 @@
|
|||||||
<!-- Define the background properties like color etc -->
|
<!-- Define the background properties like color etc -->
|
||||||
<item android:id="@android:id/background">
|
<item android:id="@android:id/background">
|
||||||
<shape>
|
<shape>
|
||||||
|
<corners android:radius="10dp"/>
|
||||||
<gradient
|
<gradient
|
||||||
android:startColor="#000000"
|
android:startColor="#101010"
|
||||||
android:centerColor="#000000"
|
android:centerColor="#202020"
|
||||||
android:centerY="1.0"
|
android:centerY="0.5"
|
||||||
android:endColor="#000000"
|
android:endColor="#101010"
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
/>
|
/>
|
||||||
</shape>
|
</shape>
|
||||||
@@ -17,11 +18,12 @@
|
|||||||
<item android:id="@android:id/progress">
|
<item android:id="@android:id/progress">
|
||||||
<clip>
|
<clip>
|
||||||
<shape>
|
<shape>
|
||||||
|
<corners android:radius="5dp"/>
|
||||||
<gradient
|
<gradient
|
||||||
android:startColor="#ffff00"
|
android:startColor="#f0f000"
|
||||||
android:centerColor="#ffffa0"
|
android:centerColor="#f0f0a0"
|
||||||
android:centerY="0.5"
|
android:centerY="0.5"
|
||||||
android:endColor="#ffff00"
|
android:endColor="#f0f000"
|
||||||
android:angle="270"
|
android:angle="270"
|
||||||
/>
|
/>
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
Reference in New Issue
Block a user