Created PostsListFragment.

This commit is contained in:
Pierre
2018-03-19 19:18:51 +01:00
parent 066805df27
commit 06f5b7962b
5 changed files with 159 additions and 31 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<ListView android:id="@+id/posts_list"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:listitem="@layout/post_item"
xmlns:tools="http://schemas.android.com/tools" />

View File

@ -2,6 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:id="@+id/fragment_user_page"
android:layout_width="match_parent"
android:layout_height="match_parent">
@ -34,10 +35,10 @@
</FrameLayout>
<!-- User posts -->
<ListView
<FrameLayout
android:id="@+id/user_posts"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
android:layout_weight="1" />
</LinearLayout>