mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-07 18:42:53 +00:00
Display a notice on user page when there is not any post to show.
This commit is contained in:
@ -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"
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user