aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/android/packaging/xbmc/res/drawable/progresscolor.xml28
-rw-r--r--tools/android/packaging/xbmc/res/layout/activity_splash.xml3
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"