|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | + android:layout_width="match_parent" |
| 4 | + android:layout_height="match_parent" |
| 5 | + android:padding="24dp"> |
| 6 | + |
| 7 | + |
| 8 | + <TextView |
| 9 | + android:id="@+id/sentry_dialog_user_feedback_title" |
| 10 | + android:layout_width="match_parent" |
| 11 | + android:layout_height="wrap_content" |
| 12 | + android:text="Give Feedback" |
| 13 | + style="@android:style/TextAppearance.DialogWindowTitle" |
| 14 | + android:textStyle="bold" |
| 15 | + android:layout_marginBottom="16dp" |
| 16 | + android:layout_alignParentTop="true" |
| 17 | + android:layout_alignEnd="@+id/sentry_dialog_user_feedback_logo"/> |
| 18 | + |
| 19 | + <ImageView |
| 20 | + android:id="@+id/sentry_dialog_user_feedback_logo" |
| 21 | + android:layout_width="32dp" |
| 22 | + android:layout_height="32dp" |
| 23 | + android:layout_alignTop="@+id/sentry_dialog_user_feedback_title" |
| 24 | + android:layout_alignBottom="@+id/sentry_dialog_user_feedback_title" |
| 25 | + android:layout_alignParentEnd="true" |
| 26 | + android:src="@drawable/sentry_logo_dark_400x352"/> |
| 27 | + |
| 28 | + <TextView |
| 29 | + android:id="@+id/sentry_dialog_user_feedback_txt_name" |
| 30 | + android:layout_width="match_parent" |
| 31 | + android:layout_height="wrap_content" |
| 32 | + android:text="Full Name" |
| 33 | + android:layout_marginTop="4dp" |
| 34 | + style="@android:style/TextAppearance.Widget.TextView" |
| 35 | + android:layout_below="@id/sentry_dialog_user_feedback_title" /> |
| 36 | + |
| 37 | + <EditText |
| 38 | + android:id="@+id/sentry_dialog_user_feedback_edt_name" |
| 39 | + android:layout_width="match_parent" |
| 40 | + android:layout_height="wrap_content" |
| 41 | + android:hint="Full Name" |
| 42 | + android:inputType="textPersonName" |
| 43 | + style="@android:style/TextAppearance.Widget.EditText" |
| 44 | + android:background="@drawable/edit_text_border" |
| 45 | + android:paddingHorizontal="8dp" |
| 46 | + android:layout_below="@id/sentry_dialog_user_feedback_txt_name" /> |
| 47 | + |
| 48 | + <TextView |
| 49 | + android:id="@+id/sentry_dialog_user_feedback_txt_email" |
| 50 | + android:layout_width="match_parent" |
| 51 | + android:layout_height="wrap_content" |
| 52 | + android:text="Email" |
| 53 | + android:layout_marginTop="4dp" |
| 54 | + style="@android:style/TextAppearance.Widget.TextView" |
| 55 | + android:layout_below="@id/sentry_dialog_user_feedback_edt_name" /> |
| 56 | + |
| 57 | + <EditText |
| 58 | + android:id="@+id/sentry_dialog_user_feedback_edt_email" |
| 59 | + android:layout_width="match_parent" |
| 60 | + android:layout_height="wrap_content" |
| 61 | + android:hint="Email" |
| 62 | + android:inputType="textEmailAddress" |
| 63 | + style="@android:style/TextAppearance.Widget.EditText" |
| 64 | + android:background="@drawable/edit_text_border" |
| 65 | + android:paddingHorizontal="8dp" |
| 66 | + android:layout_below="@id/sentry_dialog_user_feedback_txt_email" /> |
| 67 | + |
| 68 | + <TextView |
| 69 | + android:id="@+id/sentry_dialog_user_feedback_txt_description" |
| 70 | + android:layout_width="match_parent" |
| 71 | + android:layout_height="wrap_content" |
| 72 | + android:text="Description (Required)" |
| 73 | + android:layout_marginTop="4dp" |
| 74 | + style="@android:style/TextAppearance.Widget.TextView" |
| 75 | + android:layout_below="@id/sentry_dialog_user_feedback_edt_email" /> |
| 76 | + |
| 77 | + <EditText |
| 78 | + android:id="@+id/sentry_dialog_user_feedback_edt_description" |
| 79 | + android:layout_width="match_parent" |
| 80 | + android:layout_height="wrap_content" |
| 81 | + android:lines="6" |
| 82 | + android:inputType="textMultiLine" |
| 83 | + android:gravity="top|start" |
| 84 | + android:hint="What did you expect?" |
| 85 | + style="@android:style/TextAppearance.Widget.EditText" |
| 86 | + android:background="@drawable/edit_text_border" |
| 87 | + android:paddingHorizontal="8dp" |
| 88 | + android:layout_below="@id/sentry_dialog_user_feedback_txt_description" /> |
| 89 | + |
| 90 | + <Button |
| 91 | + android:id="@+id/sentry_dialog_user_feedback_btn_send" |
| 92 | + android:layout_width="match_parent" |
| 93 | + android:layout_height="wrap_content" |
| 94 | + android:backgroundTint="#362d59" |
| 95 | + android:textColor="@android:color/white" |
| 96 | + android:layout_marginTop="32dp" |
| 97 | + android:text="Send Bug Report" |
| 98 | + android:layout_below="@id/sentry_dialog_user_feedback_edt_description" /> |
| 99 | + |
| 100 | + <Button |
| 101 | + android:id="@+id/sentry_dialog_user_feedback_btn_cancel" |
| 102 | + android:layout_width="match_parent" |
| 103 | + android:layout_height="wrap_content" |
| 104 | + android:backgroundTint="#FAF9FD" |
| 105 | + android:layout_marginTop="8dp" |
| 106 | + android:text="Cancel" |
| 107 | + android:layout_below="@id/sentry_dialog_user_feedback_btn_send" /> |
| 108 | + |
| 109 | +</RelativeLayout> |
0 commit comments