HandyNotes icon indicating copy to clipboard operation
HandyNotes copied to clipboard

4x4 widget gone missing after Android upgrade

Open RalfJung opened this issue 6 years ago • 1 comments

I finally upgraded my phone to LineageOS 14 (no newer version supported, I am afraid), and somehow it seems the 4x4 HandyNotes widget is gone now -- it is not listed as a widget any more. I like having one of my home screens just for note taking, so 4x4 is just the size I used all the time.

Instead, the 3x1, 3x2 and 3x3 widgets are listed twice. The last one reads "Handy note (4...", looking as if this was the 4x4 widget, but it only has size 3x3...?

RalfJung avatar Mar 23 '19 09:03 RalfJung

I managed to fix this problem with the following patch:

diff --git a/res/xml/widget_44.xml b/res/xml/widget_44.xml
index 87a6a7f..e2d7063 100644
--- a/res/xml/widget_44.xml
+++ b/res/xml/widget_44.xml
@@ -2,7 +2,7 @@
 <appwidget-provider
   xmlns:android="http://schemas.android.com/apk/res/android"
   android:initialLayout="@layout/show_note"
-  android:minHeight="250dp"
-  android:minWidth="250dp"
+  android:minHeight="294dp"
+  android:minWidth="294dp"
   android:configure="net.tapi.handynotes.NewNote" >
 </appwidget-provider>

RalfJung avatar Mar 23 '19 10:03 RalfJung