diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/key_server_query_layout.xml | 48 | ||||
-rw-r--r-- | res/layout/key_server_query_result_item.xml | 97 | ||||
-rw-r--r-- | res/layout/key_server_query_result_user_id.xml | 26 | ||||
-rw-r--r-- | res/values/strings.xml | 4 |
4 files changed, 175 insertions, 0 deletions
diff --git a/res/layout/key_server_query_layout.xml b/res/layout/key_server_query_layout.xml new file mode 100644 index 000000000..167d02fef --- /dev/null +++ b/res/layout/key_server_query_layout.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org> + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + + <EditText + android:id="@+id/query" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1"/> + + <Button + android:id="@+id/btn_search" + android:text="@string/btn_search" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + </LinearLayout> + + <ListView + android:id="@+id/list" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1"/> + +</LinearLayout> diff --git a/res/layout/key_server_query_result_item.xml b/res/layout/key_server_query_result_item.xml new file mode 100644 index 000000000..29c8b88f4 --- /dev/null +++ b/res/layout/key_server_query_result_item.xml @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org> + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:singleLine="true" + android:paddingLeft="3dip" + android:paddingRight="?android:attr/scrollbarSize" + android:layout_height="wrap_content" + android:layout_width="fill_parent" + android:orientation="vertical"> + + <LinearLayout + android:orientation="horizontal" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <LinearLayout + android:orientation="vertical" + android:paddingLeft="5dip" + android:paddingRight="5dip" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1"> + + <TextView + android:id="@+id/mainUserId" + android:text="Main User ID" + android:textAppearance="?android:attr/textAppearanceMedium" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/mainUserIdRest" + android:text="<user@somewhere.com>" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + </LinearLayout> + + <LinearLayout + android:orientation="vertical" + android:minWidth="90dip" + android:paddingLeft="3dip" + android:gravity="right" + android:layout_width="wrap_content" + android:layout_height="wrap_content"> + + <TextView + android:id="@+id/keyId" + android:text="BBBBBBBB" + android:textAppearance="?android:attr/textAppearanceSmall" + android:typeface="monospace" + android:layout_width="wrap_content" + android:layout_height="fill_parent"/> + + <TextView + android:id="@+id/algorithm" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/status" + android:textAppearance="?android:attr/textAppearanceSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="#e00"/> + + </LinearLayout> + + </LinearLayout> + + <LinearLayout + android:id="@+id/list" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="30dip"> + + </LinearLayout> + +</LinearLayout> diff --git a/res/layout/key_server_query_result_user_id.xml b/res/layout/key_server_query_result_user_id.xml new file mode 100644 index 000000000..9d3a4a1ab --- /dev/null +++ b/res/layout/key_server_query_result_user_id.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 Thialfihar <thi@thialfihar.org> + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<TextView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_marginRight="?android:attr/scrollbarSize" + android:singleLine="true" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceSmall" + android:paddingRight="3dip"> + +</TextView> diff --git a/res/values/strings.xml b/res/values/strings.xml index e7a233b3e..0451ec00e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -40,6 +40,7 @@ <string name="title_exportKeys">Export Keys</string> <string name="title_keyNotFound">Key Not Found</string> <string name="title_help">Getting Started</string> + <string name="title_keyServerQuery">Query Key Server</string> <!-- section_lowerCase: capitalized words, no punctuation --> <string name="section_userIds">User IDs</string> @@ -70,6 +71,7 @@ <string name="btn_clearFilter">Clear Filter</string> <string name="btn_changePassPhrase">Change Pass Phrase</string> <string name="btn_setPassPhrase">Set Pass Phrase</string> + <string name="btn_search">Search</string> <!-- menu_lowerCase: capitalized words, no punctuation --> <string name="menu_about">About</string> @@ -86,6 +88,7 @@ <string name="menu_editKey">Edit Key</string> <string name="menu_search">Search</string> <string name="menu_help">Help</string> + <string name="menu_keyServer">Key Server</string> <!-- label_lowerCase: capitalized words, no punctuation --> <string name="label_sign">Sign</string> @@ -255,6 +258,7 @@ <string name="progress_decompressingData">decompressing data...</string> <string name="progress_verifyingIntegrity">verifying integrity...</string> <string name="progress_deletingSecurely">deleting \'%s\' securely...</string> + <string name="progress_querying">querying...</string> <!-- permission strings --> <string name="permission_read_key_details_label">Read key details from APG.</string> |