diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-31 17:26:29 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-08-31 17:26:29 +0200 |
commit | 5444c14ef916047b253ff7d0fc32d9f67b4161e8 (patch) | |
tree | 7c402e40ba767cb51d8d877800f499d20a58bfc8 /OpenKeychain/src | |
parent | 38c6cf045c6e451b3a150bf9b659056c2252d27c (diff) | |
download | open-keychain-5444c14ef916047b253ff7d0fc32d9f67b4161e8.tar.gz open-keychain-5444c14ef916047b253ff7d0fc32d9f67b4161e8.tar.bz2 open-keychain-5444c14ef916047b253ff7d0fc32d9f67b4161e8.zip |
Hide keyserver spinner under advanced options in certify activity
Diffstat (limited to 'OpenKeychain/src')
-rw-r--r-- | OpenKeychain/src/main/res/layout/api_app_settings_fragment.xml | 2 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/layout/certify_key_fragment.xml | 21 |
2 files changed, 15 insertions, 8 deletions
diff --git a/OpenKeychain/src/main/res/layout/api_app_settings_fragment.xml b/OpenKeychain/src/main/res/layout/api_app_settings_fragment.xml index 6ef31913a..c5477adba 100644 --- a/OpenKeychain/src/main/res/layout/api_app_settings_fragment.xml +++ b/OpenKeychain/src/main/res/layout/api_app_settings_fragment.xml @@ -1,7 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:bootstrapbutton="http://schemas.android.com/apk/res-auto" - xmlns:tools="http://schemas.android.com/tools" xmlns:custom="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/OpenKeychain/src/main/res/layout/certify_key_fragment.xml b/OpenKeychain/src/main/res/layout/certify_key_fragment.xml index e2dba9890..449db4c6a 100644 --- a/OpenKeychain/src/main/res/layout/certify_key_fragment.xml +++ b/OpenKeychain/src/main/res/layout/certify_key_fragment.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:custom="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -132,13 +133,21 @@ android:checked="false" android:text="@string/label_send_key" /> - <Spinner - android:id="@+id/upload_key_keyserver" + <org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_marginBottom="4dp" - android:layout_marginTop="4dp" - android:enabled="false" /> + android:layout_height="match_parent" + custom:foldedLabel="@string/api_settings_show_advanced" + custom:unFoldedLabel="@string/api_settings_hide_advanced"> + + <Spinner + android:id="@+id/upload_key_keyserver" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginBottom="4dp" + android:layout_marginTop="4dp" + android:enabled="false" /> + + </org.sufficientlysecure.keychain.ui.widget.FoldableLinearLayout> <TextView style="@style/SectionHeader" |