[Android] Fix widgets initial size on API < 31

Nicolas Pomepuy git at videolan.org
Tue Aug 9 08:34:11 UTC 2022


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Aug  9 09:43:09 2022 +0200| [d10c12dee3b8a40657a78290ba7c63dd891c0ddc] | committer: Nicolas Pomepuy

Fix widgets initial size on API < 31

> https://code.videolan.org/videolan/vlc-android/commit/d10c12dee3b8a40657a78290ba7c63dd891c0ddc
---

 application/vlc-android/res/xml/widget_provider_mini.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/vlc-android/res/xml/widget_provider_mini.xml b/application/vlc-android/res/xml/widget_provider_mini.xml
index 8c0f647bb..ca0036b1a 100644
--- a/application/vlc-android/res/xml/widget_provider_mini.xml
+++ b/application/vlc-android/res/xml/widget_provider_mini.xml
@@ -26,8 +26,8 @@
         android:configure="org.videolan.vlc.widget.MiniPlayerConfigureActivity"
         android:widgetFeatures="reconfigurable"
         android:initialLayout="@layout/widget_mini_initial"
-        android:minWidth="120dp"
-        android:minHeight="32dp"
+        android:minWidth="250dp"
+        android:minHeight="40dp"
         android:minResizeWidth="120dp"
         android:minResizeHeight="32dp"
         android:previewImage="@drawable/widget_preview_mini"



More information about the Android mailing list