diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-17 20:39:10 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-24 11:35:20 +0000 |
| commit | 44d8473c6ea51a22196b3c6c508a9f3166b6d6b9 (patch) | |
| tree | 853d72a4abca175d45c509950c6fe08b9da08c64 /android/src | |
| parent | fa066de0989e814532112bc1f521582dc5940063 (diff) | |
| download | mullvadvpn-44d8473c6ea51a22196b3c6c508a9f3166b6d6b9.tar.xz mullvadvpn-44d8473c6ea51a22196b3c6c508a9f3166b6d6b9.zip | |
Add settings entry for reporting a problem
Diffstat (limited to 'android/src')
| -rw-r--r-- | android/src/main/res/layout/settings.xml | 28 | ||||
| -rw-r--r-- | android/src/main/res/values/strings.xml | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/android/src/main/res/layout/settings.xml b/android/src/main/res/layout/settings.xml index 664a2dc790..84c94dcf95 100644 --- a/android/src/main/res/layout/settings.xml +++ b/android/src/main/res/layout/settings.xml @@ -66,6 +66,34 @@ android:src="@drawable/icon_chevron" /> </LinearLayout> + <LinearLayout android:id="@+id/report_a_problem" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="24dp" + android:paddingHorizontal="16dp" + android:background="@drawable/cell_button_background" + android:clickable="true" + android:gravity="center" + > + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:paddingHorizontal="8dp" + android:paddingVertical="17dp" + android:textColor="@color/white" + android:textSize="20sp" + android:textStyle="bold" + android:text="@string/report_a_problem" + /> + <ImageView + android:layout_width="14dp" + android:layout_height="24dp" + android:layout_weight="0" + android:alpha="0.6" + android:src="@drawable/icon_chevron" + /> + </LinearLayout> <Button android:id="@+id/quit_button" android:layout_marginTop="24dp" android:layout_marginLeft="24dp" diff --git a/android/src/main/res/values/strings.xml b/android/src/main/res/values/strings.xml index eef3679d2a..693afa8b79 100644 --- a/android/src/main/res/values/strings.xml +++ b/android/src/main/res/values/strings.xml @@ -16,6 +16,7 @@ <string name="settings_account">Account</string> <string name="less_than_a_day_left">less than a day left</string> <string name="out_of_time">Out of time</string> + <string name="report_a_problem">Report a problem</string> <string name="quit">Quit</string> <string name="account_number">Account number</string> |
