61 lines
2.0 KiB
XML
61 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="bottom"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/add_image"
|
|
style="?android:borderlessButtonStyle"
|
|
android:layout_width="?android:actionBarSize"
|
|
android:layout_height="?android:actionBarSize"
|
|
android:layout_weight="0"
|
|
android:contentDescription="@string/add_image"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/ic_menu_gallery"/>
|
|
|
|
<org.mariotaku.twidere.view.StatusComposeEditText
|
|
android:id="@+id/edit_text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:completionThreshold="1"
|
|
android:gravity="left|bottom"
|
|
android:hint="@string/type_to_compose"
|
|
android:imeOptions="actionDone"
|
|
android:inputType="textMultiLine"
|
|
android:maxHeight="140dp"
|
|
android:minHeight="?android:actionBarSize"
|
|
android:singleLine="false"/>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/send"
|
|
style="?android:borderlessButtonStyle"
|
|
android:layout_width="?android:actionBarSize"
|
|
android:layout_height="?android:actionBarSize"
|
|
android:layout_weight="0">
|
|
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:contentDescription="@string/send"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/ic_menu_send"/>
|
|
|
|
<org.mariotaku.twidere.view.StatusTextCountView
|
|
android:id="@+id/text_count"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|right"
|
|
android:fontFamily="sans-serif-light"
|
|
android:paddingBottom="@dimen/element_spacing_small"
|
|
android:paddingRight="@dimen/element_spacing_small"
|
|
android:singleLine="true"
|
|
android:textAllCaps="true"
|
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textSize="@dimen/text_size_extra_small"/>
|
|
</FrameLayout>
|
|
|
|
</LinearLayout> |