mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
This now handles progress bar and empty view itself. With this commit, it also scrolls down on layout changes like when keyboard is opened.
46 lines
1.4 KiB
XML
46 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<org.briarproject.android.util.BriarRecyclerView
|
|
android:id="@+id/conversationView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"/>
|
|
|
|
<View style="@style/Divider.Horizontal"/>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/button_bar_background"
|
|
android:paddingLeft="@dimen/margin_medium"
|
|
android:paddingStart="@dimen/margin_medium">
|
|
|
|
<EditText
|
|
android:id="@+id/contentView"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/private_message_hint"
|
|
android:layout_weight="1"
|
|
android:inputType="text|textMultiLine|textCapSentences"/>
|
|
|
|
<ImageButton
|
|
android:id="@+id/sendButton"
|
|
android:layout_width="38dp"
|
|
android:layout_height="38dp"
|
|
android:layout_gravity="bottom"
|
|
android:src="@drawable/social_send_now"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:scaleType="fitEnd"
|
|
android:contentDescription="@string/send"
|
|
android:paddingRight="@dimen/margin_medium"
|
|
android:paddingEnd="@dimen/margin_medium"
|
|
android:paddingBottom="@dimen/margin_medium"/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |