aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml
diff options
context:
space:
mode:
authorTim Bray <timbray@gmail.com>2014-09-12 08:34:51 -0700
committerTim Bray <timbray@gmail.com>2014-09-13 21:41:03 -0700
commit1c32d1df8801968ea6423ee4f1a9160e0c4ff0c3 (patch)
tree6571fc5b6aca0de6bd23e9acda38caf16d81cc30 /OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml
parent36ef8a9a62f32f0843c9e317d493a7f136624dce (diff)
downloadopen-keychain-1c32d1df8801968ea6423ee4f1a9160e0c4ff0c3.tar.gz
open-keychain-1c32d1df8801968ea6423ee4f1a9160e0c4ff0c3.tar.bz2
open-keychain-1c32d1df8801968ea6423ee4f1a9160e0c4ff0c3.zip
Add cloud search tab, lose Keybase/Keyserver tabs, re-organize prefs
Diffstat (limited to 'OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml')
-rw-r--r--OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml b/OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml
new file mode 100644
index 000000000..46ec736ca
--- /dev/null
+++ b/OpenKeychain/src/main/res/layout/import_keys_cloud_fragment.xml
@@ -0,0 +1,57 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:custom="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:paddingLeft="8dp"
+ android:layout_height="?android:attr/listPreferredItemHeight"
+ android:orientation="horizontal">
+
+ <AutoCompleteTextView
+ android:id="@+id/cloud_import_server_query"
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:gravity="top|left"
+ android:hint="@string/hint_cloud_search_hint"
+ android:imeOptions="actionSearch"
+ android:inputType="textNoSuggestions"
+ android:singleLine="true"
+ android:lines="1"
+ android:maxLines="1"
+ android:minLines="1"
+ android:layout_gravity="center_vertical" />
+
+ <ImageButton
+ android:id="@+id/cloud_import_server_search"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:padding="8dp"
+ android:src="@drawable/ic_action_search"
+ android:layout_gravity="center_vertical"
+ style="@style/SelectableItem" />
+
+ <View
+ android:layout_width="1dip"
+ android:layout_height="match_parent"
+ android:gravity="right"
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="8dp"
+ android:background="?android:attr/listDivider" />
+
+ <ImageButton
+ android:id="@+id/cloud_import_server_config_button"
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent"
+ android:padding="8dp"
+ android:src="@drawable/ic_action_settings"
+ android:layout_gravity="center_vertical"
+ style="@style/SelectableItem" />
+
+ </LinearLayout>
+
+
+</LinearLayout> \ No newline at end of file