Put create post form into a fragment.

This commit is contained in:
Pierre
2018-04-01 08:12:00 +02:00
parent 0558f77aed
commit c9617b5b52
4 changed files with 121 additions and 10 deletions

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/post_create_form"/>
</LinearLayout>

View File

@ -48,7 +48,9 @@
</FrameLayout>
<!-- Include post creation form -->
<include
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/create_post_form"
layout="@layout/post_create_form" />