Adjust conversation list bottom sheet item to material 3

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2022-02-07 21:18:52 +01:00
parent e2e4f69143
commit 741b6fefc9
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
2 changed files with 5 additions and 4 deletions

View File

@ -50,7 +50,7 @@ public class MenuItem extends AbstractFlexibleItem<MenuItem.MenuItemViewHolder>
this.title = title;
this.tag = tag;
this.icon = icon;
padding = (int) DisplayUtils.convertDpToPixel(16,
padding = (int) DisplayUtils.convertDpToPixel(32,
NextcloudTalkApplication.Companion.getSharedApplication().getApplicationContext());
}

View File

@ -24,7 +24,8 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/bg_default">
android:background="@color/bg_default"
android:minHeight="@dimen/bottom_sheet_item_height">
<TextView
android:id="@+id/menu_text"
@ -35,9 +36,9 @@
android:focusableInTouchMode="false"
android:gravity="start|center_vertical"
android:textAlignment="viewStart"
android:textColor="@color/conversation_item_header"
android:textColor="@color/high_emphasis_text"
android:textSize="16sp"
tools:drawablePadding="16dp"
tools:drawablePadding="32dp"
tools:drawableStart="@drawable/ic_add_grey600_24px"
tools:text="Start a new conversation" />
</RelativeLayout>