Skip to content
Browse files

[droid] splash: adjust progressbar color

  • Loading branch information...
1 parent 1b11390 commit 90a99a5e4646fa02ecbaf73632b7be46d0ef9f9c @koying committed Nov 26, 2012
View
28 tools/android/packaging/xbmc/res/drawable/progresscolor.xml
@@ -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>
View
3 tools/android/packaging/xbmc/res/layout/activity_splash.xml
@@ -30,7 +30,8 @@
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="-35dp"
- android:visibility="invisible" />
+ android:progress="50"
+ android:progressDrawable="@drawable/progresscolor" />
<TextView
android:id="@+id/textView1"

0 comments on commit 90a99a5

Please sign in to comment.
Something went wrong with that request. Please try again.