[Android] Audioplayer: refine margins
Geoffrey Métais
git at videolan.org
Thu Jan 17 17:09:07 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 17 17:08:40 2019 +0100| [50141d8633bb8ce7bcef3efcd30a1e174b13b536] | committer: Geoffrey Métais
Audioplayer: refine margins
> https://code.videolan.org/videolan/vlc-android/commit/50141d8633bb8ce7bcef3efcd30a1e174b13b536
---
vlc-android/res/layout/audio_player.xml | 2 +-
vlc-android/res/values-h480dp/dimens.xml | 1 -
vlc-android/res/values-h600dp/dimens.xml | 1 +
vlc-android/res/values/dimens.xml | 1 +
4 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index b117dd067..299db5b93 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -237,7 +237,7 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="32dp"
+ android:layout_marginBottom="@dimen/audio_player_seekbar_bottom_margin"
android:focusable="true"
android:maxHeight="1dip"
android:minHeight="1dip"
diff --git a/vlc-android/res/values-h480dp/dimens.xml b/vlc-android/res/values-h480dp/dimens.xml
index f8781e3e3..a27e5f6d2 100644
--- a/vlc-android/res/values-h480dp/dimens.xml
+++ b/vlc-android/res/values-h480dp/dimens.xml
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="info_appbar_height">300dp</dimen>
- <dimen name="audioplayer_controls_margin">32dp</dimen>
<dimen name="audio_player_cover_margin">16dp</dimen>
<dimen name="subs_dl_dialog_height">350dp</dimen>
</resources>
\ No newline at end of file
diff --git a/vlc-android/res/values-h600dp/dimens.xml b/vlc-android/res/values-h600dp/dimens.xml
index 9bc9036ff..07ef0127c 100644
--- a/vlc-android/res/values-h600dp/dimens.xml
+++ b/vlc-android/res/values-h600dp/dimens.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="subs_dl_dialog_height">448dp</dimen>
+ <dimen name="audio_player_seekbar_bottom_margin">32dp</dimen>
</resources>
\ No newline at end of file
diff --git a/vlc-android/res/values/dimens.xml b/vlc-android/res/values/dimens.xml
index b5c5763eb..54fa0b19e 100644
--- a/vlc-android/res/values/dimens.xml
+++ b/vlc-android/res/values/dimens.xml
@@ -87,4 +87,5 @@
<dimen name="player_option_width">224dp</dimen>
<dimen name="default_margin_plus_audio_margin">28dp</dimen>
+ <dimen name="audio_player_seekbar_bottom_margin">16dp</dimen>
</resources>
\ No newline at end of file
More information about the Android
mailing list