Remove task_list_body_tag

pull/253/head
Alex Baker 11 years ago
parent 636288ca00
commit 99618b45d8

@ -75,19 +75,6 @@ public class TagViewFragment extends TaskListFragment {
getView().findViewById(R.id.quickAddText).setOnTouchListener(onTouch); getView().findViewById(R.id.quickAddText).setOnTouchListener(onTouch);
} }
/* (non-Javadoc)
* @see com.todoroo.astrid.activity.TaskListActivity#getListBody(android.view.ViewGroup)
*/
@Override
protected View getListBody(ViewGroup root) {
ViewGroup parent = (ViewGroup) getActivity().getLayoutInflater().inflate(R.layout.task_list_body_tag, root, false);
taskListView = super.getListBody(parent);
parent.addView(taskListView);
return parent;
}
// --- data loading // --- data loading
@Override @Override

@ -47,14 +47,8 @@ public class SubtasksTagListFragment extends TagViewFragment {
@Override @Override
protected View getListBody(ViewGroup root) { protected View getListBody(ViewGroup root) {
ViewGroup parent = (ViewGroup) getActivity().getLayoutInflater().inflate( taskListView = getActivity().getLayoutInflater().inflate(R.layout.task_list_body_subtasks, root, false);
R.layout.task_list_body_tag, root, false); return taskListView;
taskListView =
getActivity().getLayoutInflater().inflate(R.layout.task_list_body_subtasks, root, false);
parent.addView(taskListView);
return parent;
} }
@Override @Override

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
** Copyright (c) 2012 Todoroo Inc
**
** See the file "LICENSE" for the full license governing this code.
-->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="100">
<!-- List body goes here -->
</LinearLayout>
Loading…
Cancel
Save