mirror of https://github.com/tasks/tasks
Wrap main fragments in frame layouts for easier replacement in transactions later, use tags instead of ids
parent
03c7d2eabb
commit
837b491b19
@ -1,8 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<fragment
|
<FrameLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:name="com.todoroo.astrid.activity.FilterListActivity"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/filterlist_fragment">
|
android:id="@+id/filterlist_fragment">
|
||||||
</fragment>
|
<fragment
|
||||||
|
android:name="com.todoroo.astrid.activity.FilterListActivity"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:tag="filterlist_fragment">
|
||||||
|
</fragment>
|
||||||
|
</FrameLayout>
|
||||||
@ -1,8 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<fragment
|
<FrameLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:name="com.todoroo.astrid.activity.TaskEditActivity"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/taskedit_fragment">
|
android:id="@+id/taskedit_fragment_container">
|
||||||
</fragment>
|
<fragment
|
||||||
|
android:name="com.todoroo.astrid.activity.TaskEditActivity"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:tag="taskedit_fragment">
|
||||||
|
</fragment>
|
||||||
|
</FrameLayout>
|
||||||
@ -1,8 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<fragment
|
<FrameLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:name="com.todoroo.astrid.activity.TaskListActivity"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:id="@+id/tasklist_fragment">
|
android:id="@+id/tasklist_fragment_container">
|
||||||
</fragment>
|
<fragment
|
||||||
|
android:name="com.todoroo.astrid.activity.TaskListActivity"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:tag="tasklist_fragment">
|
||||||
|
</fragment>
|
||||||
|
</FrameLayout>
|
||||||
Loading…
Reference in New Issue