Display a notice on friends fragment when the user does not have any friend.

This commit is contained in:
Pierre
2018-04-14 17:41:24 +02:00
parent 636c74bc98
commit 2074792212
3 changed files with 31 additions and 1 deletions

View File

@ -10,6 +10,15 @@
android:layout_height="wrap_content"
android:layout_centerHorizontal="true" />
<!-- No friend notice -->
<TextView
android:id="@+id/no_friend_notice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/notice_no_friend"
android:textAlignment="center"
android:layout_marginTop="50dp"/>
<ListView
android:id="@+id/fragment_friendslist_listview"
android:layout_width="match_parent"