[Android] Greater padding around cover in audio player
Geoffrey Métais
git at videolan.org
Fri Feb 17 16:44:44 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 17 16:44:12 2017 +0100| [7517776ef866262c67faccb66589fa7575402422] | committer: Geoffrey Métais
Greater padding around cover in audio player
> https://code.videolan.org/videolan/vlc-android/commit/7517776ef866262c67faccb66589fa7575402422
---
vlc-android/res/layout/audio_player.xml | 2 +-
vlc-android/res/values-sw600dp/dimens.xml | 1 +
vlc-android/res/values/dimens.xml | 1 +
3 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/vlc-android/res/layout/audio_player.xml b/vlc-android/res/layout/audio_player.xml
index e352bba..75d81f3 100644
--- a/vlc-android/res/layout/audio_player.xml
+++ b/vlc-android/res/layout/audio_player.xml
@@ -166,7 +166,7 @@
android:id="@+id/cover_media_switcher"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:padding="@dimen/default_margin"
+ android:padding="@dimen/audio_player_cover_padding"
android:layout_centerHorizontal="true"
android:layout_below="@+id/header"
android:layout_above="@+id/player_controls"
diff --git a/vlc-android/res/values-sw600dp/dimens.xml b/vlc-android/res/values-sw600dp/dimens.xml
index e7ba1d6..5840eab 100644
--- a/vlc-android/res/values-sw600dp/dimens.xml
+++ b/vlc-android/res/values-sw600dp/dimens.xml
@@ -10,4 +10,5 @@
<dimen name="overlay_margin">10dp</dimen>
<dimen name="file_picker_width">600dip</dimen>
+ <dimen name="audio_player_cover_padding">60dp</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 19dbee3..771cbbd 100644
--- a/vlc-android/res/values/dimens.xml
+++ b/vlc-android/res/values/dimens.xml
@@ -69,4 +69,5 @@
<dimen name="fastscroller_track_height">30dp</dimen>
<dimen name="fastscroller_track_width">6dp</dimen>
<dimen name="fastscroller_track_padding">5dp</dimen>
+ <dimen name="audio_player_cover_padding">30dp</dimen>
</resources>
\ No newline at end of file
More information about the Android
mailing list