diff options
author | Christian S <christian@pix-art.de> | 2016-01-31 16:55:36 +0100 |
---|---|---|
committer | Christian S <christian@pix-art.de> | 2016-01-31 16:55:36 +0100 |
commit | 8986a10bc416651828ce6734933a0ed82574f13f (patch) | |
tree | cebd8d57eccf8394f9bb1a81162814e5a7b4159d /src/main/res | |
parent | 0196442c37d5d172ba75986495977bf16f3095dc (diff) | |
parent | 19c2ca520c703576bfbf68626051fe5faab6362f (diff) |
Merge branch 'siacs/master'
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/layout/form_boolean.xml | 13 | ||||
-rw-r--r-- | src/main/res/layout/form_text.xml | 2 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 4 | ||||
-rw-r--r-- | src/main/res/xml/preferences.xml | 5 |
4 files changed, 23 insertions, 1 deletions
diff --git a/src/main/res/layout/form_boolean.xml b/src/main/res/layout/form_boolean.xml new file mode 100644 index 000000000..fd553acb2 --- /dev/null +++ b/src/main/res/layout/form_boolean.xml @@ -0,0 +1,13 @@ +<?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:paddingTop="8dp" + android:orientation="vertical"> + <CheckBox + android:id="@+id/field" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textColor="@color/black87" + android:textSize="?attr/TextSizeBody"/> +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/layout/form_text.xml b/src/main/res/layout/form_text.xml index e36ac74e9..31b521e89 100644 --- a/src/main/res/layout/form_text.xml +++ b/src/main/res/layout/form_text.xml @@ -2,12 +2,12 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingTop="8dp" android:orientation="vertical"> <TextView android:id="@+id/label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="8dp" android:textColor="@color/black87" android:textSize="?attr/TextSizeBody"/> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index e4fbeff0e..dcf25f50f 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -543,6 +543,9 @@ <string name="pref_xa_on_silent_mode">Not available in silent mode</string> <string name="update_info">Pix-Art Messenger is checking for an update. If an update is available you will be asked, if you want to update your version. The update process is downloading and installing the new version automatically.</string> <string name="pref_xa_on_silent_mode_summary">Marks your resource as not available when device is in silent mode</string> + <string name="pref_show_connection_options">Extended connection options</string> + <string name="pref_show_connection_options_summary">Show hostname and port options when setting up an account</string> + <string name="hostname_example">xmpp.example.com</string> <string name="action_add_account_with_certificate">Add account with certificate</string> <string name="unable_to_parse_certificate">Unable to parse certificate</string> <string name="authenticate_with_certificate">Leave empty to authenticate w/ certificate</string> @@ -603,4 +606,5 @@ <string name="yes">Yes</string> <string name="no">No</string> <string name="no_accounts">(No activated accounts)</string> + <string name="this_field_is_required">This field is required</string> </resources> diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index aac580a98..ca6af3f2a 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -175,6 +175,11 @@ android:key="use_tor" android:summary="@string/pref_use_tor_summary" android:title="@string/pref_use_tor"/> + <CheckBoxPreference + android:defaultValue="false" + android:key="show_connection_options" + android:summary="@string/pref_show_connection_options_summary" + android:title="@string/pref_show_connection_options"/> </PreferenceCategory> <PreferenceCategory android:title="@string/pref_input_options"> <CheckBoxPreference |