mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-03 23:25:03 +00:00
Added latest posts fragment
This commit is contained in:
29
app/src/main/res/layout/fragment_latest_posts.xml
Normal file
29
app/src/main/res/layout/fragment_latest_posts.xml
Normal file
@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<!-- Loading progress bar -->
|
||||
<ProgressBar
|
||||
android:id="@+id/loading_progress"
|
||||
android:layout_width="50dp"
|
||||
android:layout_height="50dp"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_centerHorizontal="true" />
|
||||
|
||||
<!-- No posts notice -->
|
||||
<TextView
|
||||
android:id="@+id/no_post_notice"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/notice_no_latest_posts"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="15dp" />
|
||||
|
||||
<!-- Posts list -->
|
||||
<FrameLayout
|
||||
android:id="@+id/posts_list_target"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</RelativeLayout>
|
Reference in New Issue
Block a user