diff options
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/fragment_conversation.xml | 37 |
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> |