diff options
author | Chris "Koying" Browet <cbro@semperpax.com> | 2012-11-26 16:00:58 +0100 |
---|---|---|
committer | Chris "Koying" Browet <cbro@semperpax.com> | 2012-11-29 13:08:13 +0100 |
commit | 90a99a5e4646fa02ecbaf73632b7be46d0ef9f9c (patch) | |
tree | 0edda46322ba2a301e1e88c4e8dee428528ae754 | |
parent | 1b113906abeeaa2daaee8cdcae76b16b78d784a5 (diff) |
[droid] splash: adjust progressbar color
-rw-r--r-- | tools/android/packaging/xbmc/res/drawable/progresscolor.xml | 28 | ||||
-rw-r--r-- | tools/android/packaging/xbmc/res/layout/activity_splash.xml | 3 |
2 files changed, 30 insertions, 1 deletions
diff --git a/tools/android/packaging/xbmc/res/drawable/progresscolor.xml b/tools/android/packaging/xbmc/res/drawable/progresscolor.xml new file mode 100644 index 0000000000..959ac1482a --- /dev/null +++ b/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>
diff --git a/tools/android/packaging/xbmc/res/layout/activity_splash.xml b/tools/android/packaging/xbmc/res/layout/activity_splash.xml index fd1b1af0c0..690bef988d 100644 --- a/tools/android/packaging/xbmc/res/layout/activity_splash.xml +++ b/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" |