[Android] Fix audio tips
Nicolas Pomepuy
git at videolan.org
Thu Aug 6 08:17:48 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Aug 6 06:46:55 2020 +0200| [4f5748c97deab097e0b3ecf60ce6e74eddf1bedb] | committer: Nicolas Pomepuy
Fix audio tips
Fixes #1445
> https://code.videolan.org/videolan/vlc-android/commit/4f5748c97deab097e0b3ecf60ce6e74eddf1bedb
---
application/vlc-android/res/layout/audio_player_tips.xml | 1 +
application/vlc-android/res/layout/audioplayercontainer.xml | 6 ++++++
application/vlc-android/res/layout/main.xml | 5 -----
3 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/application/vlc-android/res/layout/audio_player_tips.xml b/application/vlc-android/res/layout/audio_player_tips.xml
index acb05f8fd..0324c3e3d 100644
--- a/application/vlc-android/res/layout/audio_player_tips.xml
+++ b/application/vlc-android/res/layout/audio_player_tips.xml
@@ -6,6 +6,7 @@
android:background="?attr/background_audio_tips"
android:gravity="center"
android:orientation="vertical"
+ android:elevation="@dimen/audio_player_elevation"
android:weightSum="8">
<TextView
diff --git a/application/vlc-android/res/layout/audioplayercontainer.xml b/application/vlc-android/res/layout/audioplayercontainer.xml
index 94c626004..498abb1b6 100644
--- a/application/vlc-android/res/layout/audioplayercontainer.xml
+++ b/application/vlc-android/res/layout/audioplayercontainer.xml
@@ -15,4 +15,10 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout="@layout/audioplayer" />
+ <androidx.appcompat.widget.ViewStubCompat
+ android:id="@+id/audio_playlist_tips"
+ android:layout="@layout/audio_playlist_tips"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent" />
+
</FrameLayout>
\ No newline at end of file
diff --git a/application/vlc-android/res/layout/main.xml b/application/vlc-android/res/layout/main.xml
index 1c1b8c4d4..16cbdc09a 100644
--- a/application/vlc-android/res/layout/main.xml
+++ b/application/vlc-android/res/layout/main.xml
@@ -65,11 +65,6 @@
app:layout_insetEdge="bottom"
app:menu="@menu/bottom_navigation" />
- <androidx.appcompat.widget.ViewStubCompat
- android:id="@+id/audio_playlist_tips"
- android:layout="@layout/audio_playlist_tips"
- android:layout_height="match_parent"
- android:layout_width="match_parent" />
<androidx.appcompat.widget.ViewStubCompat
android:id="@+id/audio_player_tips"
More information about the Android
mailing list