Skip to content

Commit

Permalink
[droid] splash: adjust progressbar color
Browse files Browse the repository at this point in the history
  • Loading branch information
koying committed Nov 29, 2012
1 parent 1b11390 commit 90a99a5
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions tools/android/packaging/xbmc/res/drawable/progresscolor.xml
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >

<item android:id="@android:id/background">
<shape>
<corners android:radius="5dip" />

<gradient
android:angle="270"
android:endColor="#0e0e0e"
android:startColor="#7d7e7d"
/>
</shape>
</item>
<item android:id="@android:id/progress">
<clip>
<shape>
<corners android:radius="5dip" />

<gradient
android:angle="270"
android:endColor="#7d7e7d"
android:startColor="#ffffff" />
</shape>
</clip>
</item>

</layer-list>
3 changes: 2 additions & 1 deletion tools/android/packaging/xbmc/res/layout/activity_splash.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
android:layout_marginLeft="10dp" android:layout_marginLeft="10dp"
android:layout_marginRight="10dp" android:layout_marginRight="10dp"
android:layout_marginTop="-35dp" android:layout_marginTop="-35dp"
android:visibility="invisible" /> android:progress="50"
android:progressDrawable="@drawable/progresscolor" />


<TextView <TextView
android:id="@+id/textView1" android:id="@+id/textView1"
Expand Down

0 comments on commit 90a99a5

Please sign in to comment.