Update compose UI

This commit is contained in:
0xd9a 2022-12-24 19:23:16 +05:30
parent c63afc8097
commit 626e05b6a0
2 changed files with 10 additions and 4 deletions

View File

@ -0,0 +1,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="?colorSurfaceVariant" />
<corners android:radius="12dp" />
</shape>

View File

@ -220,7 +220,7 @@
android:id="@+id/attachment_choices_panel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?colorSurfaceVariant"
android:background="@drawable/bg_compose_panels"
android:padding="6dp"
android:visibility="gone"
app:constraint_referenced_ids="button_attach_image,button_attach_audio,button_attach_video,button_close_attachment_panel,button_poll,button_attach_manual"
@ -274,14 +274,15 @@
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/visibility_panel"
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="?colorSurfaceVariant"
android:layout_height="wrap_content"
android:background="@drawable/bg_compose_panels"
android:gravity="bottom"
android:orientation="vertical"
android:padding="6dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent">
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1">
<com.google.android.material.button.MaterialButtonToggleGroup
android:layout_width="match_parent"