mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 10:35:19 +00:00
dd37adee5c
Bottom sheet style unified.
35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
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:orientation="vertical"
|
|
app:behavior_hideable="true"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
|
|
|
|
<TextView
|
|
android:id="@+id/blockTextView"
|
|
style="@style/BottomSheetActionItem"
|
|
android:drawableStart="?attr/menu_block_icon"
|
|
android:text="@string/RecipientPreferenceActivity_block"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"/>
|
|
|
|
<TextView
|
|
android:id="@+id/unblockTextView"
|
|
style="@style/BottomSheetActionItem"
|
|
android:drawableStart="?attr/menu_accept_icon"
|
|
android:text="@string/RecipientPreferenceActivity_unblock"
|
|
android:visibility="gone"
|
|
tools:visibility="visible"/>
|
|
|
|
<TextView
|
|
android:id="@+id/deleteTextView"
|
|
style="@style/BottomSheetActionItem"
|
|
android:drawableStart="?attr/menu_trash_icon"
|
|
android:text="@string/delete" />
|
|
|
|
</LinearLayout>
|