discord-jadx/app/src/main/res/layout/view_reports_menu_node.xml

28 lines
6.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?attr/colorBackgroundPrimary" android:layout_height="match_parent" style="@style/res_2131952600_uikit_viewgroup_page">
<ScrollView android:layout_width="match_parent" android:layout_height="0dp" app:layout_constraintBottom_toTopOf="@+id/mobile_reports_node_bottom_button" app:layout_constraintTop_toTopOf="0">
<LinearLayout android:gravity="center_horizontal" android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<ImageView android:id="@+id/mobile_reports_node_success_shield" android:visibility="gone" android:layout_width="100dp" android:layout_height="100dp" android:layout_marginBottom="16dp" android:src="@drawable/img_report_success_shield"/>
<TextView android:textSize="@dimen/uikit_textsize_xxlarge" android:textColor="?attr/colorHeaderPrimary" android:id="@+id/mobile_reports_node_header" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" android:textAlignment="center" style="@style/res_2131952564_uikit_textview_h1_bold"/>
<com.discord.utilities.view.text.LinkifiedTextView android:textColor="?attr/colorHeaderSecondary" android:id="@+id/mobile_reports_node_subheader" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" android:textAlignment="center" style="@style/res_2131952568_uikit_textview_large"/>
<com.google.android.material.card.MaterialCardView android:id="@+id/mobile_reports_node_info_box" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" app:cardBackgroundColor="?attr/colorInfoHelpBackground" app:cardCornerRadius="4dp" app:cardElevation="0dp" app:contentPadding="8dp" app:strokeColor="?attr/colorFocusPrimary" app:strokeWidth="1dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/res_2131952594_uikit_viewgroup_linearlayout_horizontal">
<com.facebook.drawee.view.SimpleDraweeView android:background="@drawable/ic_info_24dp" android:layout_width="24dp" android:layout_height="24dp" android:backgroundTint="?attr/colorFocusPrimary" style="@style/res_2131952448_uikit_imageview"/>
<TextView android:textColor="?attr/colorInteractiveActive" android:layout_gravity="center" android:id="@+id/mobile_reports_node_info_text" android:textAlignment="center" android:layout_marginStart="8dp" style="@style/res_2131952572_uikit_textview_medium"/>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<include android:id="@+id/mobile_reports_node_block_user" android:visibility="gone" layout="@layout/view_mobile_report_block_user"/>
<com.google.android.material.card.MaterialCardView android:id="@+id/mobile_reports_node_message_preview" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" app:cardCornerRadius="4dp" app:cardElevation="0dp" app:strokeColor="?attr/colorBackgroundModifierAccent" app:strokeWidth="1dp">
<include android:layout_gravity="center" android:id="@+id/mobile_reports_message_preview" android:background="?attr/colorBackgroundPrimary" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" layout="@layout/widget_chat_list_adapter_item_single_line_message_preview"/>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView android:id="@+id/mobile_reports_node_channel_preview" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="16dp" app:cardCornerRadius="4dp" app:cardElevation="0dp" app:strokeColor="?attr/colorBackgroundModifierAccent" app:strokeWidth="1dp">
<include android:id="@+id/mobile_reports_channel_preview" layout="@layout/view_mobile_reports_channel_preview"/>
</com.google.android.material.card.MaterialCardView>
<com.discord.widgets.mobile_reports.MobileReportsBreadcrumbs android:gravity="top|left|center_vertical|center_horizontal|center|start" android:orientation="vertical" android:id="@+id/mobile_reports_node_breadcrumbs" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" android:layout_marginBottom="8dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout"/>
<LinearLayout android:id="@+id/mobile_reports_multiselect" android:visibility="gone" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout"/>
<LinearLayout android:id="@+id/mobile_reports_node_child_list" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="16dp" android:layout_marginRight="16dp" style="@style/res_2131952592_uikit_viewgroup_linearlayout"/>
</LinearLayout>
</ScrollView>
<com.discord.widgets.mobile_reports.MobileReportsBottomButton android:gravity="bottom" android:id="@+id/mobile_reports_node_bottom_button" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="16dp" app:layout_constraintBottom_toBottomOf="0" style="@style/res_2131952592_uikit_viewgroup_linearlayout"/>
</androidx.constraintlayout.widget.ConstraintLayout>