apkfuckery/com.discord/res/layout/widget_stream_feedback_dial...

23 lines
4.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:animateLayoutChanges="false" style="@style/UiKit.ViewGroup.Page.LinearLayout"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout android:id="@id/notice_header_container" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:padding="@dimen/uikit_spacing_large" android:text="@string/stream_report_a_problem_post_stream" style="@style/UiKit.TextView.H1.Bold" />
<View style="@style/UiKit.Divider" />
</LinearLayout>
<LinearLayout android:paddingLeft="@dimen/uikit_spacing_large" android:paddingTop="@dimen/uikit_spacing_medium" android:paddingRight="@dimen/uikit_spacing_large" android:animateLayoutChanges="false" style="@style/UiKit.ViewGroup.LinearLayout">
<TextView android:textColor="?primary_200" android:id="@id/cancel_premium_grandfathered" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/stream_report_rating_body" android:fontFamily="@font/whitney_bold" style="@style/UiKit.TextView" />
<LinearLayout android:gravity="center" android:layout_width="fill_parent" android:layout_height="64.0dip" android:layout_marginTop="@dimen/uikit_spacing_large" android:layout_marginBottom="@dimen/uikit_spacing_large" android:animateLayoutChanges="false">
<ImageView android:id="@id/stream_feedback_sad" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:src="@drawable/drawable_stream_feedback_face_sad_grayscale" />
<ImageView android:id="@id/stream_feedback_neutral" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:src="@drawable/drawable_stream_feedback_face_neutral_grayscale" />
<ImageView android:id="@id/stream_feedback_happy" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_large" android:layout_marginRight="@dimen/uikit_spacing_large" android:src="@drawable/drawable_stream_feedback_face_happy_grayscale" />
</LinearLayout>
<TextView android:textColor="?primary_200" android:id="@id/stream_feedback_reason_header" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/uikit_spacing_medium" android:text="@string/stream_report_problem_header_mobile" android:textAllCaps="true" style="@style/UiKit.TextView.Bold" />
<Spinner android:id="@id/stream_feedback_reason_spinner" android:background="?bg_stream_feedback_spinner_closed" android:layout_width="fill_parent" android:layout_height="wrap_content" android:popupBackground="?bg_stream_feedback_spinner_dropdown" />
</LinearLayout>
<View style="@style/UiKit.Settings.Divider" />
<LinearLayout style="@style/UiKit.Dialog.ButtonContainer">
<Button android:textColor="?primary_300" android:layout_gravity="center_vertical" android:id="@id/stream_feedback_cancel" android:background="@color/transparent" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:foreground="?selectableItemBackground" android:text="@string/cancel" android:layout_marginStart="@dimen/uikit_spacing_medium" style="@style/UiKit.Button" />
<com.discord.views.LoadingButton android:layout_gravity="center_vertical" android:id="@id/stream_feedback_submit" android:background="@drawable/drawable_button_purple_neutral" android:padding="@dimen/uikit_spacing_medium" android:paddingTop="@dimen/uikit_spacing_large" android:paddingBottom="@dimen/uikit_spacing_large" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/uikit_spacing_medium" android:fontFamily="@font/whitney_medium" android:layout_marginStart="@dimen/uikit_spacing_medium" app:lb_disabled_alpha="0.5" app:lb_text="@string/stream_report_submit" app:lb_text_color="@color/white" />
</LinearLayout>
</LinearLayout>