mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-06-21 01:25:19 +00:00
Created the update conversation fragment
This commit is contained in:
@ -23,8 +23,9 @@
|
||||
|
||||
<!-- Create new conversations button -->
|
||||
<Button
|
||||
android:id="@+id/fragment_conversationslist_create"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fragment_conversationslist_create_button"
|
||||
android:enabled="false" /><!-- Not available yet -->
|
||||
android:enabled="true" />
|
||||
</LinearLayout>
|
52
app/src/main/res/layout/fragment_update_conversation.xml
Normal file
52
app/src/main/res/layout/fragment_update_conversation.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<?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">
|
||||
|
||||
<!-- Conversation name -->
|
||||
<android.support.design.widget.TextInputLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/fragment_update_conversation_name"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/fragment_update_conversation_name_placeholder"
|
||||
android:inputType="textCapSentences"
|
||||
android:maxLines="1"
|
||||
/>
|
||||
|
||||
</android.support.design.widget.TextInputLayout>
|
||||
|
||||
<!-- Conversation members -->
|
||||
<ListView
|
||||
android:id="@+id/fragment_update_conversation_members"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/fragment_update_conversation_addmember"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="0dp"
|
||||
android:text="@string/fragment_update_conversation_addmember"
|
||||
/>
|
||||
|
||||
<!-- Follow or not the conversation -->
|
||||
<CheckBox
|
||||
android:id="@+id/fragment_update_conversation_follow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fragment_update_conversation_follow"/>
|
||||
|
||||
<!-- Create the conversation -->
|
||||
<Button
|
||||
android:id="@+id/fragment_update_conversation_submit"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fragment_update_conversation_button_create"
|
||||
android:background="@color/colorPrimary"/>
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user