diff options
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/layout/captcha.xml | 27 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 3 |
2 files changed, 28 insertions, 2 deletions
diff --git a/src/main/res/layout/captcha.xml b/src/main/res/layout/captcha.xml new file mode 100644 index 000000000..ea77b8354 --- /dev/null +++ b/src/main/res/layout/captcha.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="16dp" > + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/captcha" + android:layout_gravity="center_horizontal"/> + <EditText + android:id="@+id/input" + android:layout_marginTop="8dp" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:inputType="textNoSuggestions" + android:textColor="@color/black87" + android:textColorHint="@color/black54" + android:textSize="?attr/TextSizeBody" + android:hint="@string/captcha_hint"> + + <requestFocus /> + </EditText> + +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 234c732c4..7c027b509 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -557,9 +557,8 @@ <string name="server_side_mam_prefs">Server-side archiving preferences</string> <string name="fetching_mam_prefs">Fetching archiving preferences. Please wait…</string> <string name="unable_to_fetch_mam_prefs">Unable to fetch archiving preferences</string> - <string name="captcha_ocr">Captcha text</string> <string name="captcha_required">Captcha required</string> - <string name="captcha_hint">enter the text from the image</string> + <string name="captcha_hint">Enter the text from the image above</string> <string name="certificate_chain_is_not_trusted">Certificate chain is not trusted</string> <string name="jid_does_not_match_certificate">Jabber ID does not match certificate</string> <string name="action_renew_certificate">Renew certificate</string> |