2015-08-30 17:56:46 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-05-15 09:07:17 +00:00
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-07-10 15:01:30 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
2015-08-30 17:56:46 +00:00
|
|
|
<LinearLayout
|
2017-11-13 16:39:56 +00:00
|
|
|
android:id="@+id/chatBarContainer"
|
2015-08-30 17:56:46 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-05-15 09:07:17 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
2018-02-26 12:12:23 +00:00
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_medium">
|
2015-08-30 17:56:46 +00:00
|
|
|
|
2017-05-15 09:07:17 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:orientation="horizontal"
|
2018-02-12 18:58:23 +00:00
|
|
|
android:layout_height="wrap_content">
|
2016-01-11 16:09:49 +00:00
|
|
|
|
2017-05-15 09:07:17 +00:00
|
|
|
<ImageButton
|
2017-11-13 16:39:56 +00:00
|
|
|
android:id="@+id/emojiButton"
|
2017-05-15 09:07:17 +00:00
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:src="@drawable/ic_emoticon_grey600_24dp"
|
|
|
|
|
android:scaleType="center"
|
|
|
|
|
android:backgroundTint="@color/transparent"
|
2017-11-15 18:30:01 +00:00
|
|
|
android:contentDescription="@string/toogle_emojis"
|
2017-05-15 09:07:17 +00:00
|
|
|
android:tint="@color/brand_400"
|
|
|
|
|
android:layout_gravity="center"/>
|
2015-08-30 17:56:46 +00:00
|
|
|
|
2018-11-06 15:11:02 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
2018-02-12 18:58:23 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:hintTextAppearance="@style/TextAppearance.AppCompat"
|
2018-02-26 12:12:23 +00:00
|
|
|
app:hintEnabled="false"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_medium">
|
2018-08-29 14:58:40 +00:00
|
|
|
<net.pherth.android.emoji_library.EmojiEditText
|
2017-11-13 16:39:56 +00:00
|
|
|
android:id="@+id/chatEditText"
|
2018-02-12 18:58:23 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-05-15 09:07:17 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_margin="5dp"
|
|
|
|
|
android:hint="@string/write_message"
|
|
|
|
|
android:textColor="@android:color/black"
|
2018-02-26 12:12:23 +00:00
|
|
|
android:inputType="textCapSentences|textMultiLine"
|
|
|
|
|
android:lineSpacingExtra="2dp"
|
|
|
|
|
android:background="@drawable/rounded_border"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
|
|
|
|
android:paddingRight="@dimen/spacing_medium"
|
|
|
|
|
android:paddingTop="4dp"
|
2018-07-10 15:01:30 +00:00
|
|
|
android:paddingBottom="4dp"
|
|
|
|
|
tools:height="200dp"/>
|
2018-11-06 15:11:02 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-07-10 15:01:30 +00:00
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:layout_marginTop="@dimen/spacing_medium"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_medium"
|
|
|
|
|
android:gravity="bottom">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/text_indicator"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
tools:text="100/150"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
/>
|
|
|
|
|
<View
|
|
|
|
|
android:id="@+id/indicator_spacing"
|
|
|
|
|
android:layout_width="1dp"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/sendButton"
|
|
|
|
|
android:layout_width="30dp"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:background="@color/transparent"
|
|
|
|
|
android:tint="@color/gray_400"
|
|
|
|
|
android:src="@drawable/ic_send_grey_600_24dp"
|
|
|
|
|
android:contentDescription="@string/send"/>
|
|
|
|
|
</LinearLayout>
|
2017-05-15 09:07:17 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
<TextView
|
2017-11-13 16:39:56 +00:00
|
|
|
android:id="@+id/communityGuidelinesView"
|
2017-05-15 09:07:17 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/read_community_guidelines"
|
2017-05-23 15:40:13 +00:00
|
|
|
style="@style/Caption3"
|
|
|
|
|
android:textColor="@color/brand_300" />
|
2015-08-30 17:56:46 +00:00
|
|
|
</LinearLayout>
|
2017-05-15 09:07:17 +00:00
|
|
|
</merge>
|