Get the list of conversation from the API

This commit is contained in:
Pierre
2017-12-09 14:02:29 +01:00
parent 4e90fd9793
commit 456a1f830b
8 changed files with 430 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- List of the conversations -->
<ListView
android:id="@+id/fragment_conversationslist_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical"
android:numColumns="auto_fit"/>
<!-- Create new conversations button -->
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/fragment_conversationslist_create_button"
android:enabled="false" /><!-- Not available yet -->
</LinearLayout>

View File

@@ -28,4 +28,9 @@
<string name="action_friends_accept_request">Accept</string>
<string name="user_image_description">User Image Account</string>
<string name="navigation_bottom_conversations_item">Conversations</string>
<string name="fragment_conversationslist_create_button">Create a new conversation</string>
<string name="action_friends_respond_request">Respond request</string>
<string name="action_friends_deny_request">Deny</string>
<string name="popup_respond_friendship_request_title">Respond to the request</string>
<string name="popup_respond_friendship_request_message">Do you want to accept or deny this friendship request ?</string>
</resources>