mirror of
https://github.com/pierre42100/ComunicAndroid
synced 2025-07-06 10:02:54 +00:00
First message sent from the Android application
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
android:orientation="vertical" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<!-- Messages -->
|
||||
<ListView
|
||||
android:id="@+id/fragment_conversation_messageslist"
|
||||
android:layout_width="match_parent"
|
||||
@ -13,4 +14,26 @@
|
||||
android:transcriptMode="alwaysScroll"
|
||||
/>
|
||||
|
||||
<!-- Send messages form -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/conversation_footer_bg">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/fragment_conversation_newmessage_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="@string/fragment_conversation_new_message_placeholder"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/fragment_conversation_newmessage_send"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@android:drawable/ic_menu_send"
|
||||
android:contentDescription="@string/conversation_message_send"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@ -14,4 +14,7 @@
|
||||
<color name="conversation_user_messages_textColor">#FFFFFF</color>
|
||||
<color name="conversation_otheruser_messages_background">#D8D8D8</color>
|
||||
<color name="conversation_otheruser_messages_textColor">#000000</color>
|
||||
|
||||
<!-- Conversations footer -->
|
||||
<color name="conversation_footer_bg">#8c9eff</color>
|
||||
</resources>
|
||||
|
@ -53,4 +53,8 @@
|
||||
<string name="err_get_user_info">Couldn\'t get user information !</string>
|
||||
<string name="fragment_conversation_err_load_message">Could not load messages!</string>
|
||||
<string name="fragment_conversation_message_image">Conversation message image</string>
|
||||
<string name="conversation_message_send">Send</string>
|
||||
<string name="conversation_message_err_too_short">The length of the message is too short !</string>
|
||||
<string name="conversation_message_err_send">The message could not be sent! Please check your message and try again…</string>
|
||||
<string name="fragment_conversation_new_message_placeholder">New message…</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user