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

54 lines
2.2 KiB
XML
Raw Normal View History

<?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"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
2017-05-15 09:07:17 +00:00
android:id="@+id/chat_bar_container"
android:layout_width="match_parent"
2017-05-15 09:07:17 +00:00
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp">
2017-05-15 09:07:17 +00:00
<LinearLayout
android:layout_width="match_parent"
android:orientation="horizontal"
android:layout_height="match_parent">
2016-01-11 16:09:49 +00:00
2017-05-15 09:07:17 +00:00
<ImageButton
android:id="@+id/emoji_button"
android:layout_width="30dp"
android:layout_height="30dp"
android:src="@drawable/ic_emoticon_grey600_24dp"
android:scaleType="center"
android:backgroundTint="@color/transparent"
android:contentDescription="Toogle Emojis"
android:tint="@color/brand_400"
android:layout_gravity="center"/>
2017-05-15 09:07:17 +00:00
<net.pherth.android.emoji_library.EmojiEditText
android:id="@+id/chat_edit_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_margin="5dp"
android:hint="@string/write_message"
android:textColor="@android:color/black"
android:inputType="textCapSentences|textMultiLine" />
2017-05-15 09:07:17 +00:00
<ImageButton
android:id="@+id/send_button"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_gravity="center"
android:background="@color/transparent"
android:tint="@color/md_grey_400"
android:src="@drawable/ic_send_grey_600_24dp"/>
</LinearLayout>
<TextView
android:id="@+id/community_guidelines_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/read_community_guidelines"
style="@style/Caption3" />
</LinearLayout>
2017-05-15 09:07:17 +00:00
</merge>