[Android] Fix subtitles picker sizing issues
Nicolas Pomepuy
git at videolan.org
Mon Sep 14 08:06:34 CEST 2020
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Sep 10 08:58:15 2020 +0200| [e0074ed9c41da7b734bfe3baab3cd69331cb7d5a] | committer: Nicolas Pomepuy
Fix subtitles picker sizing issues
> https://code.videolan.org/videolan/vlc-android/commit/e0074ed9c41da7b734bfe3baab3cd69331cb7d5a
---
application/resources/src/main/res/values-sw600dp/dimens.xml | 2 +-
application/resources/src/main/res/values-w800dp/dimens.xml | 2 +-
application/vlc-android/res/layout/directory_browser.xml | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/application/resources/src/main/res/values-sw600dp/dimens.xml b/application/resources/src/main/res/values-sw600dp/dimens.xml
index e7aaa2bc3..fa4ba9206 100644
--- a/application/resources/src/main/res/values-sw600dp/dimens.xml
+++ b/application/resources/src/main/res/values-sw600dp/dimens.xml
@@ -9,7 +9,7 @@
<dimen name="images_margin_sides">60dp</dimen>
<dimen name="overlay_margin">10dp</dimen>
- <dimen name="file_picker_width">600dip</dimen>
+ <dimen name="file_picker_width">450dip</dimen>
<dimen name="audio_player_cover_margin">16dp</dimen>
<dimen name="audioplayer_controls_margin">16dp</dimen>
diff --git a/application/resources/src/main/res/values-w800dp/dimens.xml b/application/resources/src/main/res/values-w800dp/dimens.xml
index 126f9f28f..fb05700a3 100644
--- a/application/resources/src/main/res/values-w800dp/dimens.xml
+++ b/application/resources/src/main/res/values-w800dp/dimens.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="default_content_width">800dp</dimen>
- <dimen name="file_picker_width">720dp</dimen>
+ <dimen name="file_picker_width">600dp</dimen>
</resources>
\ 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 29b0704a6..7864e11d8 100644
--- a/application/vlc-android/res/layout/directory_browser.xml
+++ b/application/vlc-android/res/layout/directory_browser.xml
@@ -39,7 +39,7 @@
<org.videolan.vlc.gui.view.SwipeRefreshLayout
android:id="@+id/swipeLayout"
- android:layout_width="@dimen/default_content_width"
+ android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHeight_default="spread"
@@ -53,6 +53,7 @@
android:layout_height="match_parent"
android:background="?attr/background_default"
android:visibility="gone"
+ android:clipToPadding="false"
android:paddingBottom="64dp"/>
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
More information about the Android
mailing list