[Android] Show scan progress on top of bottom bar

Nicolas Pomepuy git at videolan.org
Thu Apr 16 15:43:34 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Apr  7 13:48:36 2020 +0200| [1793ea34448e70501744badbec5e9bf0fd7a6d68] | committer: Nicolas Pomepuy

Show scan progress on top of bottom bar

> https://code.videolan.org/videolan/vlc-android/commit/1793ea34448e70501744badbec5e9bf0fd7a6d68
---

 application/vlc-android/res/layout/main.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/application/vlc-android/res/layout/main.xml b/application/vlc-android/res/layout/main.xml
index 9fa486163..b83e9b956 100644
--- a/application/vlc-android/res/layout/main.xml
+++ b/application/vlc-android/res/layout/main.xml
@@ -26,7 +26,9 @@
             android:id="@+id/scan_viewstub"
             android:layout_width="match_parent"
             android:layout_height="@dimen/progress_layout_height"
-            android:layout_gravity="bottom"
+            app:layout_anchor="@+id/navigation"
+            app:layout_anchorGravity="top"
+            android:layout_gravity="top"
             android:layout="@layout/scan_progress" />
 
     <include layout="@layout/audioplayercontainer" />



More information about the Android mailing list