Skip to content
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.

Widget should be resizable in ICS and later #275

Closed
mattg opened this issue Jul 15, 2012 · 5 comments
Closed

Widget should be resizable in ICS and later #275

mattg opened this issue Jul 15, 2012 · 5 comments

Comments

@mattg
Copy link

mattg commented Jul 15, 2012

The widget should be resizable in ICS. Either that, or create multiple sizes that the user can choose.

@mattg
Copy link
Author

mattg commented Jul 15, 2012

If no one wants to work on this one, I'll gladly give it a shot.

@ginatrapani
Copy link
Member

Yes, please, thank you!

@henrik242
Copy link

+1 on this one. The widget is too small! Have you been able to look at it, @mattg?

@henrik242
Copy link

This patch seems to work on 4.2.2. I haven't tested on other versions.

diff --git a/res/xml/todo_widget_provider.xml b/res/xml/todo_widget_provider.xml
index ddb1f4b..3d9d012 100644
--- a/res/xml/todo_widget_provider.xml
+++ b/res/xml/todo_widget_provider.xml
@@ -27,4 +27,5 @@ You should have received a copy of the GNU General Public License along with Tod
        android:minWidth="294dp"
        android:minHeight="40dp"
        android:initialLayout="@layout/widget"
+       android:resizeMode="horizontal|vertical"
        android:updatePeriodMillis="1000" />

Skjermbilde 2013-04-05 kl 14 09 53

@mattg
Copy link
Author

mattg commented Apr 5, 2013

I haven't. I no longer use todo.txt. Someone should really do it, though.
Seems like one of the biggest deficiencies in the Android version of the
app.

On Fri, Apr 5, 2013 at 5:09 AM, henrik242 notifications@github.com wrote:

This patch seems to work on 4.2.2. I haven't tested on other versions.

diff --git a/res/xml/todo_widget_provider.xml b/res/xml/todo_widget_provider.xml
index ddb1f4b..3d9d012 100644
--- a/res/xml/todo_widget_provider.xml
+++ b/res/xml/todo_widget_provider.xml
@@ -27,4 +27,5 @@ You should have received a copy of the GNU General Public License along with Tod
android:minWidth="294dp"
android:minHeight="40dp"
android:initialLayout="@layout/widget"

  •   android:resizeMode="horizontal|vertical"
    android:updatePeriodMillis="1000" />
    


Reply to this email directly or view it on GitHubhttps://github.com//issues/275#issuecomment-15952171
.

henrik242 added a commit to henrik242/todo.txt-touch that referenced this issue Apr 29, 2013
This makes the widget resizeable on 4.2.2. I haven't tested other versions.

Fixes todotxt#275.
henrik242 added a commit to henrik242/todo.txt-touch that referenced this issue Apr 30, 2013
This makes the widget resizeable on 4.2.2, with a maximum of 15 displayed tasks.
I haven't tested other versions.

Fixes todotxt#275.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants