diff options
author | 0xd9a <0xd9a@noreply.codeberg.org> | 2023-02-12 17:49:29 +0530 |
---|---|---|
committer | 0xd9a <0xd9a@noreply.codeberg.org> | 2023-02-12 17:49:29 +0530 |
commit | dec4dd85a8e37d1c514ec8d1434f1da93449716e (patch) | |
tree | b5c7827ef7c7b323998eadb305bdd982cca31928 | |
parent | 0405e1e29f8e30cc9e8e8b25b5c62d67970b5025 (diff) |
Add bottom compose layoutbubble_view
-rw-r--r-- | app/src/main/res/layouts/mastodon/layout/layout_bottom_compose.xml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/src/main/res/layouts/mastodon/layout/layout_bottom_compose.xml b/app/src/main/res/layouts/mastodon/layout/layout_bottom_compose.xml new file mode 100644 index 000000000..a79110565 --- /dev/null +++ b/app/src/main/res/layouts/mastodon/layout/layout_bottom_compose.xml @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.google.android.material.card.MaterialCardView 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" + android:layout_margin="6dp"> + + <androidx.appcompat.widget.LinearLayoutCompat + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:baselineAligned="false" + android:gravity="bottom"> + + <com.google.android.material.button.MaterialButton + android:id="@+id/add_attachment_button" + style="@style/Widget.Material3.Button.IconButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + app:icon="@drawable/ic_compose_attach" /> + + <androidx.appcompat.widget.AppCompatEditText + android:id="@+id/text" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:maxLines="6" + tools:text="@tools:sample/lorem/random" /> + + <com.google.android.material.button.MaterialButton + android:id="@+id/send_button" + style="@style/Widget.Material3.Button.IconButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + app:icon="@drawable/ic_baseline_send_24" /> + + </androidx.appcompat.widget.LinearLayoutCompat> + +</com.google.android.material.card.MaterialCardView> |