[Android] Set scrollbar outside listviews bounds

Geoffrey Métais git at videolan.org
Mon Jun 27 16:35:16 CEST 2016


vlc-android | branch: 2.0.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jun 27 15:35:28 2016 +0200| [158eb9a43d8c7906b2acb6fd568c5331ae71a761] | committer: Geoffrey Métais

Set scrollbar outside listviews bounds

(cherry picked from commit a6b5c310b7eb2f4d1a9ee6c14b2e596ba3b54bd3)

> https://code.videolan.org/videolan/vlc-android/commit/158eb9a43d8c7906b2acb6fd568c5331ae71a761
---

 vlc-android/res/layout/audio_browser.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/vlc-android/res/layout/audio_browser.xml b/vlc-android/res/layout/audio_browser.xml
index 1d9701d..081e063 100644
--- a/vlc-android/res/layout/audio_browser.xml
+++ b/vlc-android/res/layout/audio_browser.xml
@@ -41,6 +41,7 @@
                 android:paddingLeft="20dp"
                 android:paddingRight="20dp"
                 android:fastScrollEnabled="true"
+                android:scrollbarStyle="outsideInset"
                 android:focusable="true"
                 android:nextFocusUp="@id/header"
                 android:nextFocusDown="@id/header"
@@ -55,6 +56,7 @@
                 android:paddingLeft="20dp"
                 android:paddingRight="20dp"
                 android:fastScrollEnabled="true"
+                android:scrollbarStyle="outsideInset"
                 android:focusable="true"
                 android:nextFocusUp="@id/header"
                 android:nextFocusDown="@id/header"
@@ -69,6 +71,7 @@
                 android:paddingLeft="20dp"
                 android:paddingRight="20dp"
                 android:fastScrollEnabled="true"
+                android:scrollbarStyle="outsideInset"
                 android:focusable="true"
                 android:nextFocusUp="@id/header"
                 android:nextFocusDown="@id/header"
@@ -83,6 +86,7 @@
                 android:paddingLeft="20dp"
                 android:paddingRight="20dp"
                 android:fastScrollEnabled="true"
+                android:scrollbarStyle="outsideInset"
                 android:focusable="true"
                 android:nextFocusUp="@id/header"
                 android:nextFocusDown="@id/header"
@@ -97,6 +101,7 @@
                 android:paddingLeft="20dp"
                 android:paddingRight="20dp"
                 android:fastScrollEnabled="true"
+                android:scrollbarStyle="outsideInset"
                 android:focusable="true"
                 android:nextFocusUp="@id/header"
                 android:nextFocusDown="@id/header"



More information about the Android mailing list