79 lines
3.1 KiB
XML
79 lines
3.1 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="300dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<jp.juggler.subwaytooter.view.MaxHeightScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fadeScrollbars="false"
|
|
android:scrollbarStyle="outsideOverlay"
|
|
app:maxHeight="350dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingHorizontal="12dp"
|
|
android:paddingVertical="12dp">
|
|
|
|
<jp.juggler.subwaytooter.view.NetworkEmojiView
|
|
android:id="@+id/nivEmoji"
|
|
android:layout_width="200dp"
|
|
android:layout_height="200dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/ivEmoji"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp"
|
|
android:scaleType="fitCenter"
|
|
android:visibility="gone"
|
|
tools:src="@drawable/ic_face"
|
|
tools:visibility="visible" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tvEmoji"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_horizontal"
|
|
android:textSize="200dp"
|
|
android:visibility="gone"
|
|
tools:ignore="SpUsage"
|
|
tools:text="❤"
|
|
tools:visibility="visible" />
|
|
|
|
<EditText
|
|
android:id="@+id/etJson"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:imeOptions="actionDone"
|
|
android:importantForAutofill="no"
|
|
android:inputType="none"
|
|
android:minLines="3"
|
|
tools:ignore="Deprecated,LabelFor"
|
|
tools:text="text\ntext\n" />
|
|
</LinearLayout>
|
|
</jp.juggler.subwaytooter.view.MaxHeightScrollView>
|
|
|
|
<LinearLayout
|
|
style="?android:attr/buttonBarStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnOk"
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/ok" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|