mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-09-20 14:29:02 +00:00
Get the list of conversation from the API
This commit is contained in:
22
app/src/main/res/layout/fragment_conversationslist.xml
Normal file
22
app/src/main/res/layout/fragment_conversationslist.xml
Normal 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>
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user