|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3 |
| - xmlns:tools="http://schemas.android.com/tools" |
4 |
| - android:layout_width="match_parent" |
| 3 | + xmlns:tools="http://schemas.android.com/tools" |
| 4 | + android:layout_width="match_parent" |
5 | 5 | android:layout_height="match_parent"
|
6 |
| - tools:ignore="HardcodedText" |
| 6 | + tools:ignore="HardcodedText" |
| 7 | + android:theme="?android:attr/dialogTheme" |
7 | 8 | android:padding="24dp">
|
8 | 9 |
|
9 | 10 |
|
|
12 | 13 | android:layout_width="match_parent"
|
13 | 14 | android:layout_height="wrap_content"
|
14 | 15 | android:text="Report a Bug"
|
15 |
| - style="@android:style/TextAppearance.DialogWindowTitle" |
| 16 | + style="?android:attr/windowTitleStyle" |
16 | 17 | android:textStyle="bold"
|
17 | 18 | android:layout_marginBottom="16dp"
|
18 | 19 | android:layout_alignParentTop="true"
|
|
25 | 26 | android:layout_alignTop="@+id/sentry_dialog_user_feedback_title"
|
26 | 27 | android:layout_alignBottom="@+id/sentry_dialog_user_feedback_title"
|
27 | 28 | android:layout_alignParentEnd="true"
|
| 29 | + android:tint="?android:attr/colorForeground" |
28 | 30 | android:src="@drawable/sentry_logo_dark_400x352"/>
|
29 | 31 |
|
30 | 32 | <TextView
|
|
33 | 35 | android:layout_height="wrap_content"
|
34 | 36 | android:text="Name"
|
35 | 37 | android:layout_marginTop="4dp"
|
36 |
| - style="@android:style/TextAppearance.Widget.TextView" |
| 38 | + android:textStyle="bold" |
37 | 39 | android:layout_below="@id/sentry_dialog_user_feedback_title" />
|
38 | 40 |
|
39 | 41 | <EditText
|
|
42 | 44 | android:layout_height="wrap_content"
|
43 | 45 | android:hint="Your Name"
|
44 | 46 | android:inputType="textPersonName"
|
45 |
| - style="@android:style/TextAppearance.Widget.EditText" |
46 | 47 | android:background="@drawable/edit_text_border"
|
47 | 48 | android:paddingHorizontal="8dp"
|
48 | 49 | android:layout_below="@id/sentry_dialog_user_feedback_txt_name" />
|
|
53 | 54 | android:layout_height="wrap_content"
|
54 | 55 | android:text="Email"
|
55 | 56 | android:layout_marginTop="8dp"
|
56 |
| - style="@android:style/TextAppearance.Widget.TextView" |
| 57 | + android:textStyle="bold" |
57 | 58 | android:layout_below="@id/sentry_dialog_user_feedback_edt_name" />
|
58 | 59 |
|
59 | 60 | <EditText
|
|
62 | 63 | android:layout_height="wrap_content"
|
63 | 64 | android:hint="your.email@example.org"
|
64 | 65 | android:inputType="textEmailAddress"
|
65 |
| - style="@android:style/TextAppearance.Widget.EditText" |
66 | 66 | android:background="@drawable/edit_text_border"
|
67 | 67 | android:paddingHorizontal="8dp"
|
68 | 68 | android:layout_below="@id/sentry_dialog_user_feedback_txt_email" />
|
|
73 | 73 | android:layout_height="wrap_content"
|
74 | 74 | android:text="Description (Required)"
|
75 | 75 | android:layout_marginTop="8dp"
|
76 |
| - style="@android:style/TextAppearance.Widget.TextView" |
| 76 | + android:textStyle="bold" |
77 | 77 | android:layout_below="@id/sentry_dialog_user_feedback_edt_email" />
|
78 | 78 |
|
79 | 79 | <EditText
|
|
84 | 84 | android:inputType="textMultiLine"
|
85 | 85 | android:gravity="top|start"
|
86 | 86 | android:hint="What's the bug? What did you expect?"
|
87 |
| - style="@android:style/TextAppearance.Widget.EditText" |
88 | 87 | android:background="@drawable/edit_text_border"
|
89 | 88 | android:paddingHorizontal="8dp"
|
90 | 89 | android:layout_below="@id/sentry_dialog_user_feedback_txt_description" />
|
|
103 | 102 | android:id="@+id/sentry_dialog_user_feedback_btn_cancel"
|
104 | 103 | android:layout_width="match_parent"
|
105 | 104 | android:layout_height="wrap_content"
|
106 |
| - android:backgroundTint="#FAF9FD" |
107 | 105 | android:layout_marginTop="8dp"
|
| 106 | + android:backgroundTint="?android:attr/colorBackground" |
108 | 107 | android:text="Cancel"
|
109 | 108 | android:layout_below="@id/sentry_dialog_user_feedback_btn_send" />
|
110 | 109 |
|
|
0 commit comments