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

Make widget resizeable #341

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion res/xml/todo_widget_provider.xml
Expand Up @@ -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:updatePeriodMillis="1000" />
android:resizeMode="horizontal|vertical"
android:updatePeriodMillis="1000" />
2 changes: 1 addition & 1 deletion src/com/todotxt/todotxttouch/TodoWidgetProvider.java
Expand Up @@ -43,7 +43,7 @@
public class TodoWidgetProvider extends AppWidgetProvider {

private static final String TAG = TodoWidgetProvider.class.getName();
private static final int TASKS_TO_DISPLAY = 3;
private static final int TASKS_TO_DISPLAY = 15;

private static final int TASK_ID = 0;
private static final int TASK_PRIO = 1;
Expand Down