mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-06-21 09:35:19 +00:00
Created PostsListFragment.
This commit is contained in:
7
app/src/main/res/layout/fragment_postslist.xml
Normal file
7
app/src/main/res/layout/fragment_postslist.xml
Normal 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" />
|
@ -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>
|
Reference in New Issue
Block a user