[Android] Add margins to take care of the mini player
Nicolas Pomepuy
git at videolan.org
Wed Aug 5 14:25:23 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Aug 3 11:15:26 2020 +0200| [b74aa6cd120b9bc6ea00f46bd6e18b4bcfdf6a5f] | committer: Nicolas Pomepuy
Add margins to take care of the mini player
Fixes #1436
> https://code.videolan.org/videolan/vlc-android/commit/b74aa6cd120b9bc6ea00f46bd6e18b4bcfdf6a5f
---
application/vlc-android/res/layout/audio_recyclerview.xml | 3 ++-
application/vlc-android/res/layout/directory_browser.xml | 3 ++-
application/vlc-android/res/layout/main_browser_fragment.xml | 3 ++-
application/vlc-android/res/layout/more_fragment.xml | 3 ++-
application/vlc-android/res/layout/playlist_activity.xml | 3 ++-
5 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/application/vlc-android/res/layout/audio_recyclerview.xml b/application/vlc-android/res/layout/audio_recyclerview.xml
index 63b199446..79a1ff06d 100644
--- a/application/vlc-android/res/layout/audio_recyclerview.xml
+++ b/application/vlc-android/res/layout/audio_recyclerview.xml
@@ -8,6 +8,7 @@
android:layout_width="@dimen/default_content_width"
android:layout_height="match_parent"
android:layout_gravity="center_horizontal"
- android:clipToPadding="false" />
+ android:clipToPadding="false"
+ android:paddingBottom="64dp"/>
</FrameLayout>
\ No newline at end of file
diff --git a/application/vlc-android/res/layout/directory_browser.xml b/application/vlc-android/res/layout/directory_browser.xml
index 8cfb4d3a0..29b0704a6 100644
--- a/application/vlc-android/res/layout/directory_browser.xml
+++ b/application/vlc-android/res/layout/directory_browser.xml
@@ -52,7 +52,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/background_default"
- android:visibility="gone" />
+ android:visibility="gone"
+ android:paddingBottom="64dp"/>
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
<org.videolan.vlc.gui.view.EmptyLoadingStateView
diff --git a/application/vlc-android/res/layout/main_browser_fragment.xml b/application/vlc-android/res/layout/main_browser_fragment.xml
index aa620a0a4..527cec203 100644
--- a/application/vlc-android/res/layout/main_browser_fragment.xml
+++ b/application/vlc-android/res/layout/main_browser_fragment.xml
@@ -28,7 +28,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:paddingBottom="64dp">
<org.videolan.vlc.gui.view.TitleListView
diff --git a/application/vlc-android/res/layout/more_fragment.xml b/application/vlc-android/res/layout/more_fragment.xml
index 06ff37b7f..725d6b1bd 100644
--- a/application/vlc-android/res/layout/more_fragment.xml
+++ b/application/vlc-android/res/layout/more_fragment.xml
@@ -40,7 +40,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:paddingBottom="64dp">
<org.videolan.vlc.gui.view.AutofitButton
android:id="@+id/settingsButton"
diff --git a/application/vlc-android/res/layout/playlist_activity.xml b/application/vlc-android/res/layout/playlist_activity.xml
index bcd8b3bd9..3588f7789 100644
--- a/application/vlc-android/res/layout/playlist_activity.xml
+++ b/application/vlc-android/res/layout/playlist_activity.xml
@@ -71,7 +71,8 @@
android:scrollbars="vertical"
android:layout_gravity="center_horizontal|top"
android:background="?attr/background_default"
- vlc:layout_behavior="@string/appbar_scrolling_view_behavior" />
+ vlc:layout_behavior="@string/appbar_scrolling_view_behavior"
+ android:paddingBottom="64dp"/>
<com.google.android.material.floatingactionbutton.FloatingActionButton
vlc:rippleColor="@color/orange50"
More information about the Android
mailing list