Display a notice on user page when there is not any post to show.

This commit is contained in:
Pierre
2018-04-14 17:03:04 +02:00
parent f7fef9905b
commit 4aeddb3ba2
3 changed files with 22 additions and 0 deletions

View File

@ -54,6 +54,15 @@
android:id="@+id/create_post_form"
layout="@layout/post_create_form" />
<!-- No post on user page notice -->
<TextView
android:id="@+id/no_post_notice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/notice_no_post_user_page"
android:layout_gravity="center"
android:layout_marginTop="10dp"/>
<!-- User posts -->
<FrameLayout
android:id="@+id/user_posts"

View File

@ -174,4 +174,5 @@
<string name="err_get_friendship_status">An error occurred while retrieving friendship status!</string>
<string name="err_get_post_info">An error occurred while trying to get post information!</string>
<string name="notice_no_notification">You do not have any notification yet.</string>
<string name="notice_no_post_user_page">There is not any post on this page yet.</string>
</resources>