11 lines
2.3 KiB
XML
11 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/guild_context_menu_card" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" app:cardBackgroundColor="?attr/colorBackgroundFloating" app:cardCornerRadius="4dp" app:cardElevation="4dp" app:cardUseCompatPadding="true">
|
|
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:minWidth="240dp">
|
|
<TextView android:textColor="?attr/colorHeaderPrimary" android:id="@+id/guild_context_menu_header" android:paddingTop="14dp" android:paddingBottom="14dp" android:layout_width="wrap_content" android:layout_height="wrap_content" android:fontFamily="?attr/font_display_bold" android:paddingStart="16dp" android:paddingEnd="16dp" style="@style/UiKit_TextView_H2_Bold"/>
|
|
<View android:id="@+id/guild_context_menu_header_divider" android:background="?attr/colorBackgroundModifierAccent" android:layout_width="match_parent" android:layout_height="1dp"/>
|
|
<TextView android:id="@+id/guild_context_menu_mark_as_read" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/mark_as_read" app:drawableStartCompat="@drawable/ic_mail_24dp" style="@style/ContextMenuTextOption"/>
|
|
<TextView android:id="@+id/guild_context_menu_notifications" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/notifications" app:drawableStartCompat="@drawable/ic_guild_notifications_24dp" style="@style/ContextMenuTextOption"/>
|
|
<TextView android:textColor="@color/status_red_500" android:id="@+id/guild_context_menu_leave_guild" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/leave_server" app:drawableStartCompat="@drawable/ic_exit_24dp" app:drawableTint="@color/status_red_500" style="@style/ContextMenuTextOption"/>
|
|
<TextView android:id="@+id/guild_context_menu_more_options" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/more_options" app:drawableStartCompat="@drawable/ic_settings_24dp" style="@style/ContextMenuTextOption"/>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|