Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4x4 widget gone missing after Android upgrade #15

Open
RalfJung opened this issue Mar 23, 2019 · 1 comment
Open

4x4 widget gone missing after Android upgrade #15

RalfJung opened this issue Mar 23, 2019 · 1 comment

Comments

@RalfJung
Copy link

RalfJung commented Mar 23, 2019

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
Copy link
Author

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant