Widget should be resizable in ICS and later #275

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

Comments

Projects
None yet
4 participants

mattg commented Jul 15, 2012

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

mattg commented Jul 15, 2012

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

Owner

ginatrapani commented Jul 17, 2012

Yes, please, thank you!

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

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 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=""

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


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

henrik242 added a commit to henrik242/todo.txt-touch that referenced this issue Apr 29, 2013

Make widget resizeable
This makes the widget resizeable on 4.2.2. I haven't tested other versions.

Fixes #275.

henrik242 added a commit to henrik242/todo.txt-touch that referenced this issue Apr 30, 2013

Make widget resizeable
This makes the widget resizeable on 4.2.2, with a maximum of 15 displayed tasks.
I haven't tested other versions.

Fixes #275.

@karbassi karbassi added enhancement and removed enhancement labels Oct 9, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment