Added latest posts fragment

This commit is contained in:
Pierre
2018-05-10 10:08:26 +02:00
parent 0d075032d8
commit 306977a101
6 changed files with 306 additions and 7 deletions

View 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>