mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
67 lines
2.4 KiB
XML
67 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
tools:showIn="@layout/fragment_reblog">
|
|
|
|
<android.support.v7.widget.CardView
|
|
android:id="@+id/input_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/margin_medium"
|
|
android:layout_marginStart="@dimen/margin_medium"
|
|
android:layout_marginTop="@dimen/margin_medium"
|
|
android:elevation="@dimen/cardview_default_elevation"
|
|
android:minHeight="@dimen/text_input_height"
|
|
app:cardBackgroundColor="@color/card_background"
|
|
app:cardCornerRadius="0dp"
|
|
app:cardUseCompatPadding="false">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<android.support.v7.widget.AppCompatImageButton
|
|
android:id="@+id/emoji_toggle"
|
|
android:layout_width="@dimen/text_input_height"
|
|
android:layout_height="@dimen/text_input_height"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="@dimen/margin_small"
|
|
android:scaleType="center"
|
|
android:src="@drawable/ic_emoji_toggle"
|
|
app:tint="?attr/colorControlNormal"/>
|
|
|
|
<com.vanniktech.emoji.EmojiEditText
|
|
android:id="@+id/input_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@android:color/transparent"
|
|
android:inputType="textMultiLine|textLongMessage|textCapSentences|textAutoCorrect"
|
|
android:minHeight="@dimen/text_input_height"
|
|
android:paddingBottom="@dimen/margin_small"
|
|
android:paddingEnd="@dimen/margin_small"
|
|
android:paddingRight="@dimen/margin_small"
|
|
android:paddingTop="@dimen/margin_small"
|
|
android:textColor="?android:attr/textColorPrimary"
|
|
tools:ignore="RtlSymmetry"
|
|
tools:text="Line 1\nLine 2\nLine 3"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.CardView>
|
|
|
|
<Button
|
|
android:id="@+id/btn_send"
|
|
style="@style/BriarButton"
|
|
android:layout_marginEnd="@dimen/margin_small"
|
|
android:layout_marginLeft="@dimen/margin_small"
|
|
android:layout_marginRight="@dimen/margin_small"
|
|
android:layout_marginStart="@dimen/margin_small"/>
|
|
|
|
</merge>
|