diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-07 20:22:26 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-07 20:22:26 +0100 |
commit | 93d11b3c99be49fdd2faa0e90db45b3360720e6a (patch) | |
tree | 06c9b8426fd0ac66df9e8fea1404f985d3abd278 /res | |
parent | 7738bfd0727e41e8211532c8fef0876169837e9e (diff) |
made untrust certificate warning more beautified
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/cert_warning.xml | 29 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
2 files changed, 20 insertions, 10 deletions
diff --git a/res/layout/cert_warning.xml b/res/layout/cert_warning.xml index 2e1e5511..59d71803 100644 --- a/res/layout/cert_warning.xml +++ b/res/layout/cert_warning.xml @@ -10,23 +10,32 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="18sp"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="#FFe92727" + android:textStyle="bold" + android:textSize="18sp" + android:text="Do not connect unless you know exactly what you are doing" + android:paddingTop="8dp" + android:paddingBottom="8dp"/> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="18sp" + android:text="The SHA1 fingerprint is:" /> <TextView + android:layout_gravity="center_horizontal" android:paddingTop="8dp" android:paddingBottom="8dp" android:id="@+id/sha" android:layout_width="wrap_content" android:layout_height="wrap_content" android:typeface="monospace" - android:textSize="18sp"/> - - <TextView - android:id="@+id/dont" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textColor="#FFe92727" android:textStyle="bold" - android:textSize="18sp" - android:text="Do not connect unless you know exactly what you are doing" /> - + android:textSize="20sp"/> + </LinearLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index 3b575db1..4995523b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -22,4 +22,5 @@ <string name="visitor">Visitor</string> <string name="enter_new_name">Enter a new name:</string> <string name="remove_contact_text">Do you want to delete %s from your roster. The conversation assoziated with this account will not be removed.</string> + <string name="untrusted_cert_hint">The server %s presented you with an unstrusted, possible self signed, certificate.</string> </resources> |