diff --git a/build.gradle b/build.gradle index 4005eeccd..fc7230c04 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ android { buildToolsVersion "22.0.1" defaultConfig { - versionCode 360 + versionCode 361 versionName "4.7.11" minSdkVersion 7 targetSdkVersion 22 diff --git a/src/main/java/com/todoroo/astrid/activity/TaskListFragment.java b/src/main/java/com/todoroo/astrid/activity/TaskListFragment.java index 7007198cc..d2a14c495 100644 --- a/src/main/java/com/todoroo/astrid/activity/TaskListFragment.java +++ b/src/main/java/com/todoroo/astrid/activity/TaskListFragment.java @@ -283,11 +283,11 @@ public class TaskListFragment extends InjectingListFragment implements OnSortSel }); View body = getListBody(parent); listView = (SwipeRefreshLayout) body.findViewById(R.id.swipe_layout); - emptyView = (SwipeRefreshLayout) body.findViewById(R.id.swipe_layout_empty); + emptyView = (SwipeRefreshLayout) parent.findViewById(R.id.swipe_layout_empty); setupRefresh(listView); setupRefresh(emptyView); ((ListView) listView.findViewById(android.R.id.list)).setEmptyView(emptyView); - parent.addView(body, 0); + ((ViewGroup) parent.findViewById(R.id.task_list_body)).addView(body, 0); return parent; } diff --git a/src/main/res/layout/task_list_activity.xml b/src/main/res/layout/task_list_activity.xml index 465e573a9..10ec66cb6 100644 --- a/src/main/res/layout/task_list_activity.xml +++ b/src/main/res/layout/task_list_activity.xml @@ -3,9 +3,8 @@ ** ** See the file "LICENSE" for the full license governing this code. --> - - + + + + + + android:layout_gravity="end|bottom" + android:layout_margin="16dp" + app:borderWidth="0dp"/> - + diff --git a/src/main/res/layout/task_list_body_standard.xml b/src/main/res/layout/task_list_body_standard.xml index a1c3fa0ad..612d9a8ff 100644 --- a/src/main/res/layout/task_list_body_standard.xml +++ b/src/main/res/layout/task_list_body_standard.xml @@ -1,23 +1,12 @@ - - - + + - - - - - - + android:layout_height="fill_parent"/> - + diff --git a/src/main/res/layout/task_list_body_subtasks.xml b/src/main/res/layout/task_list_body_subtasks.xml index 5012315cb..3127b2694 100644 --- a/src/main/res/layout/task_list_body_subtasks.xml +++ b/src/main/res/layout/task_list_body_subtasks.xml @@ -1,24 +1,13 @@ - - - + + - - - - - - + android:layout_height="fill_parent" + android:drawSelectorOnTop="false"/> - + diff --git a/src/main/res/values-v11/styles.xml b/src/main/res/values-v11/styles.xml new file mode 100644 index 000000000..53e1189bb --- /dev/null +++ b/src/main/res/values-v11/styles.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml index 66a1472d2..4f37e53e9 100644 --- a/src/main/res/values/styles.xml +++ b/src/main/res/values/styles.xml @@ -142,6 +142,9 @@ true + +