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">
|
2017-05-15 09:07:17 +00:00
|
|
|
<LinearLayout
|
2019-04-08 16:26:49 +00:00
|
|
|
android:id="@+id/chatBarContent"
|
2017-05-15 09:07:17 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:orientation="horizontal"
|
2019-04-25 11:46:27 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:paddingLeft="@dimen/spacing_medium"
|
2019-08-24 10:33:14 +00:00
|
|
|
android:paddingRight="@dimen/spacing_medium"
|
|
|
|
|
android:baselineAligned="false">
|
2016-01-11 16:09:49 +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">
|
2019-03-13 13:41:25 +00:00
|
|
|
<com.habitrpg.android.habitica.ui.views.HabiticaAutocompleteTextView
|
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>
|
2019-04-25 11:46:27 +00:00
|
|
|
<LinearLayout
|
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"
|
2019-04-25 11:46:27 +00:00
|
|
|
android:orientation="vertical"
|
2019-04-26 08:28:06 +00:00
|
|
|
android:background="@color/brand_300"
|
2019-04-25 11:46:27 +00:00
|
|
|
android:paddingStart="@dimen/spacing_large"
|
|
|
|
|
android:paddingEnd="@dimen/spacing_large"
|
2019-04-08 16:26:49 +00:00
|
|
|
android:paddingTop="@dimen/spacing_large"
|
2019-04-25 11:46:27 +00:00
|
|
|
android:paddingBottom="@dimen/spacing_large">
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/communityGuidelinesReviewView"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/read_community_guidelines"
|
|
|
|
|
style="@style/Caption3"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="@color/white"
|
|
|
|
|
android:layout_marginBottom="@dimen/spacing_medium"/>
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/communityGuidelinesAcceptButton"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
style="@style/HabiticaButton.Blue"
|
|
|
|
|
android:text="@string/i_agree_to_follow_the_guidelines"/>
|
|
|
|
|
</LinearLayout>
|
2017-05-15 09:07:17 +00:00
|
|
|
</merge>
|