habitica-android/Habitica/res/layout/tavern_chat_new_entry_item.xml

58 lines
2.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
2016-03-06 15:49:35 +00:00
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="7dp"
android:text="Chat"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@color/material_drawer_primary_text" />
<LinearLayout
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_height="match_parent">
2016-01-11 16:09:49 +00:00
<ImageButton
android:id="@+id/emoji.toggle.btn"
android:layout_width="50dp"
android:layout_height="50dp"
2016-01-11 16:54:21 +00:00
android:src="@drawable/ic_emoticon_grey600_24dp"
2016-01-11 16:09:49 +00:00
android:scaleType="center"
android:backgroundTint="@color/transparent"
android:contentDescription="Toogle Emojis" />
<android.support.design.widget.TextInputLayout
2015-12-13 19:11:10 +00:00
android:layout_width="0dp"
2016-01-06 17:38:54 +00:00
android:layout_height="wrap_content"
android:minHeight="72dp"
2015-12-13 19:11:10 +00:00
android:layout_weight="1"
app:hintTextAppearance="@style/TextAppearance.AppCompat">
2016-06-21 09:28:51 +00:00
<net.pherth.android.emoji_library.EmojiEditText
android:id="@+id/edit.new.message.text"
2015-12-13 19:11:10 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
2016-03-06 16:09:34 +00:00
android:hint="@string/write_message"
android:textColor="@android:color/black"
android:inputType="textCapSentences|textMultiLine" />
</android.support.design.widget.TextInputLayout>
<Button
android:id="@+id/btn.send.message"
2016-03-06 16:09:34 +00:00
android:layout_width="wrap_content"
2015-10-29 18:53:37 +00:00
android:layout_height="50dp"
android:textColor="@color/white"
2016-03-06 16:09:34 +00:00
android:text="@string/post"
2015-10-29 18:53:37 +00:00
android:drawableTint="@color/white"/>
</LinearLayout>
</LinearLayout>