[Android] UI : Apply material style to audio speed bar.

Alexandre Perraud git at videolan.org
Thu Mar 5 14:28:44 CET 2015


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Thu Mar  5 14:27:22 2015 +0100| [3d12d9ddc27e930089c1f43d6b0a2f47b4ec654c] | committer: Alexandre Perraud

UI : Apply material style to audio speed bar.

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=3d12d9ddc27e930089c1f43d6b0a2f47b4ec654c
---

 vlc-android/res/layout/expandable_speed_selector.xml |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/layout/expandable_speed_selector.xml b/vlc-android/res/layout/expandable_speed_selector.xml
index 42f15b9..ef6c5f4 100644
--- a/vlc-android/res/layout/expandable_speed_selector.xml
+++ b/vlc-android/res/layout/expandable_speed_selector.xml
@@ -15,7 +15,15 @@
             android:id="@+id/speed_seek_bar"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
-            android:max="200" />
+            android:focusable="true"
+            android:indeterminate="false"
+            android:max="200"
+            android:maxHeight="@dimen/seekbar_height"
+            android:minHeight="@dimen/seekbar_height"
+            android:progress="100"
+            android:progressDrawable="@drawable/po_seekbar"
+            android:splitTrack="false"
+            android:thumb="@drawable/seekbar_thumb" />
 
         <RelativeLayout
             android:id="@+id/relative_layout"



More information about the Android mailing list