discord-jadx/app/src/main/res/layout/widget_channels_list_item_t...

30 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/primary_630" style="@style/UiKit_ViewGroup_ScrollView_Page">
<LinearLayout android:paddingBottom="8dp" style="@style/UiKit_ViewGroup_LinearLayout">
<androidx.constraintlayout.widget.ConstraintLayout style="@style/UiKit_Sheet_Header">
<androidx.constraintlayout.widget.Guideline style="@style/UiKit_Sheet_Guideline"/>
<FrameLayout style="@style/UiKit_Sheet_Header_Icon">
<com.facebook.drawee.view.SimpleDraweeView android:id="@+id/channels_list_item_thread_actions_icon" style="@style/Avatar_Large"/>
</FrameLayout>
<TextView android:id="@+id/channels_list_item_thread_actions_title" style="@style/UiKit_Sheet_Header_Title"/>
</androidx.constraintlayout.widget.ConstraintLayout>
<View style="@style/UiKit_Settings_Divider"/>
<TextView android:id="@+id/channels_list_item_thread_actions_mark_as_read" android:text="@string/mark_as_read" app:drawableStartCompat="?attr/ic_visibility" style="@style/UiKit_Settings_Item_Icon"/>
<TextView android:id="@+id/channels_list_item_thread_actions_mute" app:drawableStartCompat="?attr/ic_channel_mute" style="@style/UiKit_Settings_Item_Icon"/>
<TextView android:id="@+id/channels_list_item_thread_actions_channel_notifications" android:text="@string/notification_settings" app:drawableStartCompat="?attr/ic_notifications_a60" style="@style/UiKit_Settings_Item_Icon"/>
<View android:id="@+id/channels_list_item_thread_actions_divider" style="@style/UiKit_Settings_Divider"/>
<TextView android:id="@+id/channels_list_item_thread_actions_edit" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/edit_thread" app:drawableStartCompat="?attr/ic_edit" style="@style/UiKit_Settings_Item_Icon"/>
<LinearLayout android:gravity="center_vertical" android:id="@+id/channels_list_item_thread_actions_archive_settings" android:background="?attr/selectableItemBackground" style="@style/UiKit_Settings_Item">
<ImageView android:importantForAccessibility="no" android:paddingStart="0dp" android:paddingEnd="32dp" app:srcCompat="?attr/ic_recent" style="@style/UiKit_ImageView"/>
<LinearLayout android:layout_width="0dp" android:layout_weight="1" style="@style/UiKit_ViewGroup_LinearLayout">
<TextView android:id="@+id/channels_list_item_thread_actions_archive_settings_header" android:background="@color/transparent" android:paddingTop="0dp" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/archive_settings" android:paddingStart="0dp" android:paddingEnd="0dp" style="@style/UiKit_Settings_Item_Label"/>
<TextView android:id="@+id/channels_list_item_thread_actions_archive_settings_subheader" android:background="@color/transparent" android:paddingBottom="0dp" android:paddingStart="0dp" android:paddingEnd="0dp" style="@style/UiKit_Settings_Item_Addition"/>
</LinearLayout>
</LinearLayout>
<TextView android:id="@+id/channels_list_item_thread_actions_unarchive" android:visibility="visible" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/unarchive_thread" app:drawableStartCompat="?attr/ic_recent" style="@style/UiKit_Settings_Item_Icon"/>
<TextView android:textColor="@color/status_red_500" android:id="@+id/channels_list_item_thread_actions_leave" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/leave_thread" app:drawableStartCompat="@drawable/ic_remove_friend_red_24dp" app:drawableTint="@color/status_red_500" style="@style/UiKit_Settings_Item_Icon"/>
<View android:id="@+id/channels_list_item_thread_actions_developer_divider" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/UiKit_Settings_Divider"/>
<TextView android:id="@+id/channels_list_item_thread_actions_copy_id" android:text="@string/copy_id" app:drawableStartCompat="?attr/ic_copy" style="@style/UiKit_Settings_Item_Icon"/>
</LinearLayout>
</androidx.core.widget.NestedScrollView>