aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-05-04 23:50:26 +0200
committerChristian Schneppe <christian@pix-art.de>2019-05-04 23:50:26 +0200
commit37d8cd61b349680eb6220013171b33589b995457 (patch)
treea24333ca6c928828d8d430c4a54e054f6517d99d /src/main/res/layout
parentfc67d3b4b6e06096cdbd9349edfcb30606419de7 (diff)
small UI changes
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/fragment_conversation.xml37
1 files changed, 4 insertions, 33 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index 1da8a5b25..c3f42855d 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -62,8 +62,7 @@
<RelativeLayout
android:id="@+id/textsend"
-
- android:layout_width="fill_parent"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
@@ -87,14 +86,14 @@
android:visibility="gone" />
<LinearLayout
- android:layout_width="wrap_content"
+ android:id="@+id/message_input_box"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_alignParentLeft="true"
android:layout_toStartOf="@+id/textSendButton"
android:layout_toLeftOf="@+id/textSendButton"
android:layout_toEndOf="@+id/recordVoiceButton"
android:layout_toRightOf="@+id/recordVoiceButton"
+ android:background="@drawable/message_bubble_sent"
android:orientation="vertical">
<TextView
@@ -112,7 +111,6 @@
android:id="@+id/media_preview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@drawable/message_bubble_sent"
android:orientation="horizontal"
android:paddingTop="8dp"
android:requiresFadingEdge="horizontal"
@@ -125,7 +123,6 @@
style="@style/Widget.Conversations.EditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="@drawable/message_bubble_sent"
android:ems="10"
android:imeOptions="flagNoExtractUi|actionSend"
android:inputType="textShortMessage|textMultiLine|textCapSentences"
@@ -203,31 +200,5 @@
android:textStyle="bold" />
</RelativeLayout>
- <RelativeLayout
- android:id="@+id/messagehint"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginLeft="8dp"
- android:layout_marginTop="4dp"
- android:layout_marginEnd="8dp"
- android:layout_marginRight="8dp"
- android:background="@drawable/date_bubble"
- android:minHeight="48dp"
- android:visibility="gone">
-
- <TextView
- android:id="@+id/messagehint_message"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_alignParentLeft="true"
- android:layout_centerVertical="true"
- android:paddingStart="24dp"
- android:paddingLeft="24dp"
- android:textColor="@color/realblack"
- android:textSize="?attr/TextSizeBody" />
- </RelativeLayout>
-
</RelativeLayout>
</layout>