[Android] Audioplayer: Fix bottom shadow position
Geoffrey Métais
git at videolan.org
Fri Jul 12 14:39:15 CEST 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jul 12 14:06:47 2019 +0200| [13c78387daebc9a8a33fe293d16cbb936073aed2] | committer: Geoffrey Métais
Audioplayer: Fix bottom shadow position
> https://code.videolan.org/videolan/vlc-android/commit/13c78387daebc9a8a33fe293d16cbb936073aed2
---
vlc-android/res/layout/audio_player.xml | 67 +++++++++++++++++----------------
1 file changed, 34 insertions(+), 33 deletions(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index 5ddfc5b89..cc21907e7 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -222,13 +222,14 @@
app:layout_constraintTop_toBottomOf="@+id/header" />
<include
- layout="@layout/shadow_bottom"
- android:layout_width="0dp"
- android:layout_height="6dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintBottom_toBottomOf="@+id/songs_list"
- android:id="@+id/include"/>
+ layout="@layout/shadow_bottom"
+ android:layout_width="0dp"
+ android:layout_height="6dp"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintBottom_toTopOf="@+id/play_pause"
+ android:layout_marginBottom="@dimen/audio_player_cover_margin"
+ android:id="@+id/include"/>
<TextView
android:id="@+id/time"
@@ -275,34 +276,34 @@
app:layout_constraintEnd_toEndOf="parent" />
<ImageView
- android:id="@+id/shuffle"
- android:layout_width="40dp"
- android:layout_height="40dp"
- app:layout_constraintLeft_toLeftOf="@+id/time"
- app:layout_constraintRight_toLeftOf="@+id/previous"
- app:layout_constraintBottom_toBottomOf="@+id/play_pause"
- app:layout_constraintTop_toTopOf="@+id/play_pause"
- app:layout_constraintHorizontal_chainStyle="spread_inside"
- android:contentDescription="@string/shuffle_title"
- android:focusable="true"
- android:scaleType="fitXY"
- app:srcCompat="@drawable/ic_shuffle"
- android:onClick="@{fragment::onShuffleClick}"/>
+ android:id="@+id/shuffle"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ app:layout_constraintLeft_toLeftOf="@+id/time"
+ app:layout_constraintRight_toLeftOf="@+id/previous"
+ app:layout_constraintBottom_toBottomOf="@+id/play_pause"
+ app:layout_constraintTop_toTopOf="@+id/play_pause"
+ app:layout_constraintHorizontal_chainStyle="spread_inside"
+ android:contentDescription="@string/shuffle_title"
+ android:focusable="true"
+ android:scaleType="fitXY"
+ app:srcCompat="@drawable/ic_shuffle"
+ android:onClick="@{fragment::onShuffleClick}"/>
<ImageView
- android:id="@+id/repeat"
- android:layout_width="40dp"
- android:layout_height="40dp"
- app:layout_constraintRight_toRightOf="@+id/length"
- app:layout_constraintLeft_toRightOf="@+id/next"
- app:layout_constraintBottom_toBottomOf="@+id/play_pause"
- app:layout_constraintTop_toTopOf="@+id/play_pause"
- android:layout_marginEnd="@dimen/default_margin"
- android:contentDescription="@string/repeat_title"
- android:focusable="true"
- android:onClick="@{fragment::onRepeatClick}"
- android:scaleType="fitXY"
- app:srcCompat="@drawable/ic_repeat"/>
+ android:id="@+id/repeat"
+ android:layout_width="40dp"
+ android:layout_height="40dp"
+ app:layout_constraintRight_toRightOf="@+id/length"
+ app:layout_constraintLeft_toRightOf="@+id/next"
+ app:layout_constraintBottom_toBottomOf="@+id/play_pause"
+ app:layout_constraintTop_toTopOf="@+id/play_pause"
+ android:layout_marginEnd="@dimen/default_margin"
+ android:contentDescription="@string/repeat_title"
+ android:focusable="true"
+ android:onClick="@{fragment::onRepeatClick}"
+ android:scaleType="fitXY"
+ app:srcCompat="@drawable/ic_repeat"/>
<ImageView
android:id="@+id/play_pause"
More information about the Android
mailing list