[Android] Fix tablet breakpoint too low
Nicolas Pomepuy
git at videolan.org
Wed Sep 6 08:04:00 UTC 2023
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Sep 4 13:58:46 2023 +0200| [86ff29e1dfb69210dff530872dd1094a72a7ccd6] | committer: Duncan McNamara
Fix tablet breakpoint too low
Fixes #2992
> https://code.videolan.org/videolan/vlc-android/commit/86ff29e1dfb69210dff530872dd1094a72a7ccd6
---
application/resources/src/main/res/values-large/dimens.xml | 6 ------
.../src/main/res/{values-large => values-sw600dp}/booleans.xml | 0
application/resources/src/main/res/values-sw600dp/dimens.xml | 3 +++
3 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/application/resources/src/main/res/values-large/dimens.xml b/application/resources/src/main/res/values-large/dimens.xml
deleted file mode 100644
index 0799b0d5fe..0000000000
--- a/application/resources/src/main/res/values-large/dimens.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-
-<resources>
- <!--MRLPanel-->
- <dimen name="navigation_margin">72dp</dimen>
-</resources>
\ No newline at end of file
diff --git a/application/resources/src/main/res/values-large/booleans.xml b/application/resources/src/main/res/values-sw600dp/booleans.xml
similarity index 100%
rename from application/resources/src/main/res/values-large/booleans.xml
rename to application/resources/src/main/res/values-sw600dp/booleans.xml
diff --git a/application/resources/src/main/res/values-sw600dp/dimens.xml b/application/resources/src/main/res/values-sw600dp/dimens.xml
index fa4ba92061..28da2313c1 100644
--- a/application/resources/src/main/res/values-sw600dp/dimens.xml
+++ b/application/resources/src/main/res/values-sw600dp/dimens.xml
@@ -13,6 +13,9 @@
<dimen name="audio_player_cover_margin">16dp</dimen>
<dimen name="audioplayer_controls_margin">16dp</dimen>
+
+ <dimen name="navigation_margin">72dp</dimen>
+
<!-- pop-Up player -->
<dimen name="video_pip_width">512dp</dimen>
<dimen name="video_pip_height">288dp</dimen>
More information about the Android
mailing list