mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-23 12:45:01 +01:00
Adjust conversation list bottom sheet item to material 3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
e2e4f69143
commit
741b6fefc9
@ -50,7 +50,7 @@ public class MenuItem extends AbstractFlexibleItem<MenuItem.MenuItemViewHolder>
|
|||||||
this.title = title;
|
this.title = title;
|
||||||
this.tag = tag;
|
this.tag = tag;
|
||||||
this.icon = icon;
|
this.icon = icon;
|
||||||
padding = (int) DisplayUtils.convertDpToPixel(16,
|
padding = (int) DisplayUtils.convertDpToPixel(32,
|
||||||
NextcloudTalkApplication.Companion.getSharedApplication().getApplicationContext());
|
NextcloudTalkApplication.Companion.getSharedApplication().getApplicationContext());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@color/bg_default">
|
android:background="@color/bg_default"
|
||||||
|
android:minHeight="@dimen/bottom_sheet_item_height">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/menu_text"
|
android:id="@+id/menu_text"
|
||||||
@ -35,9 +36,9 @@
|
|||||||
android:focusableInTouchMode="false"
|
android:focusableInTouchMode="false"
|
||||||
android:gravity="start|center_vertical"
|
android:gravity="start|center_vertical"
|
||||||
android:textAlignment="viewStart"
|
android:textAlignment="viewStart"
|
||||||
android:textColor="@color/conversation_item_header"
|
android:textColor="@color/high_emphasis_text"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
tools:drawablePadding="16dp"
|
tools:drawablePadding="32dp"
|
||||||
tools:drawableStart="@drawable/ic_add_grey600_24px"
|
tools:drawableStart="@drawable/ic_add_grey600_24px"
|
||||||
tools:text="Start a new conversation" />
|
tools:text="Start a new conversation" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user