[Android] Allow vertical resizing for widgets

Nicolas Pomepuy git at videolan.org
Tue Nov 2 12:31:14 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Oct 18 11:07:00 2021 +0200| [a6675ca84f1661f929c10bed8da5526556c6905d] | committer: Nicolas Pomepuy

Allow vertical resizing for widgets

Fixes #2195

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

 application/vlc-android/res/xml/widget_provider_b.xml | 2 +-
 application/vlc-android/res/xml/widget_provider_w.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/vlc-android/res/xml/widget_provider_b.xml b/application/vlc-android/res/xml/widget_provider_b.xml
index 57e8edd1a..bc222358b 100644
--- a/application/vlc-android/res/xml/widget_provider_b.xml
+++ b/application/vlc-android/res/xml/widget_provider_b.xml
@@ -1,7 +1,7 @@
 <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
     android:minWidth="250dp"
     android:minHeight="40dp"
-    android:resizeMode="horizontal"
+    android:resizeMode="horizontal|vertical"
     android:minResizeWidth="180dp"
     android:updatePeriodMillis="86400000"
     android:initialLayout="@layout/widget_b"
diff --git a/application/vlc-android/res/xml/widget_provider_w.xml b/application/vlc-android/res/xml/widget_provider_w.xml
index 4533e3d93..d48b6faaa 100644
--- a/application/vlc-android/res/xml/widget_provider_w.xml
+++ b/application/vlc-android/res/xml/widget_provider_w.xml
@@ -1,7 +1,7 @@
 <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
     android:minWidth="250dp"
     android:minHeight="40dp"
-    android:resizeMode="horizontal"
+    android:resizeMode="horizontal|vertical"
     android:minResizeWidth="180dp"
     android:updatePeriodMillis="86400000"
     android:initialLayout="@layout/widget_w"



More information about the Android mailing list