diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-20 19:27:56 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-24 11:35:22 +0000 |
| commit | a7790d30ee9602fa729bb406d9abc0db10d93e53 (patch) | |
| tree | 6ee9d078405bb672f093cf7223e5c47736b9a7a5 /android/src/main/res | |
| parent | c1e303baa001c9d531a1918312fb2225e1648882 (diff) | |
| download | mullvadvpn-a7790d30ee9602fa729bb406d9abc0db10d93e53.tar.xz mullvadvpn-a7790d30ee9602fa729bb406d9abc0db10d93e53.zip | |
Add "Try again" button to error screen
Diffstat (limited to 'android/src/main/res')
| -rw-r--r-- | android/src/main/res/layout/problem_report.xml | 14 | ||||
| -rw-r--r-- | android/src/main/res/values/strings.xml | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/android/src/main/res/layout/problem_report.xml b/android/src/main/res/layout/problem_report.xml index 49ba73ced9..f2955badfe 100644 --- a/android/src/main/res/layout/problem_report.xml +++ b/android/src/main/res/layout/problem_report.xml @@ -127,6 +127,7 @@ android:visibility="gone" /> </FrameLayout> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -170,6 +171,19 @@ android:textStyle="bold" android:visibility="gone" /> + + <Space + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1" + /> + + <Button android:id="@+id/try_again_button" + android:layout_marginVertical="16dp" + android:text="@string/try_again" + android:visibility="gone" + style="@style/GreenButton" + /> </LinearLayout> </ViewSwitcher> </LinearLayout> diff --git a/android/src/main/res/values/strings.xml b/android/src/main/res/values/strings.xml index 701c8205c5..c2c37738bf 100644 --- a/android/src/main/res/values/strings.xml +++ b/android/src/main/res/values/strings.xml @@ -42,6 +42,7 @@ You may need to go back to the app\'s main screen and click Disconnect before trying again. Don\'t worry, the information you entered will remain in the form. </string> + <string name="try_again">Try again</string> <string name="unsecured_connection">Unsecured connection</string> <string name="creating_secure_connection">Creating secure connection</string> |
