diff options
Diffstat (limited to 'res/layout')
33 files changed, 0 insertions, 2534 deletions
diff --git a/res/layout/about_activity.xml b/res/layout/about_activity.xml deleted file mode 100644 index a85439ee1..000000000 --- a/res/layout/about_activity.xml +++ /dev/null @@ -1,98 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:isScrollContainer="true" - android:orientation="vertical" - android:paddingBottom="15dp" - android:paddingLeft="15dp" - android:paddingRight="15dp" - android:scrollbars="vertical" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="horizontal" > - - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:orientation="vertical" > - - <ImageView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="top" - android:layout_marginRight="10dp" - android:src="@drawable/icon" /> - </LinearLayout> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/app_name" - android:textStyle="bold" /> - - <TextView - android:id="@+id/about_version" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:textAppearance="@android:style/TextAppearance.Small" /> - </LinearLayout> - </LinearLayout> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:autoLink="web" - android:text="@string/about_url" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:text="@string/about_description" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:text="@string/about_license" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="8dp" - android:text="@string/about_developer" - android:textAppearance="@android:style/TextAppearance.Small" /> - - <!-- <TextView --> - <!-- android:layout_width="wrap_content" --> - <!-- android:layout_height="wrap_content" --> - <!-- android:layout_marginTop="8dp" --> - <!-- android:text="@string/about_icons" --> - <!-- android:textAppearance="@android:style/TextAppearance.Small" /> --> - - - <!-- <TextView --> - <!-- android:layout_width="wrap_content" --> - <!-- android:layout_height="wrap_content" --> - <!-- android:layout_marginTop="8dp" --> - <!-- android:text="@string/about_libs" --> - <!-- android:textAppearance="@android:style/TextAppearance.Small" /> --> - </LinearLayout> - -</ScrollView>
\ No newline at end of file diff --git a/res/layout/account_item.xml b/res/layout/account_item.xml deleted file mode 100644 index 0aa76719a..000000000 --- a/res/layout/account_item.xml +++ /dev/null @@ -1,35 +0,0 @@ -<?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:layout_marginRight="?android:attr/scrollbarSize" - android:paddingLeft="6dip" - android:paddingTop="6dip" - android:paddingBottom="6dip" - android:layout_width="fill_parent" - android:layout_height="?android:attr/listPreferredItemHeight"> - - <TextView - android:id="@+id/accountName" - android:text="someone@gmail.com" - android:textAppearance="?android:attr/textAppearanceLarge" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - -</LinearLayout> diff --git a/res/layout/add_account_dialog.xml b/res/layout/add_account_dialog.xml deleted file mode 100644 index d44ce9766..000000000 --- a/res/layout/add_account_dialog.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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="wrap_content" - android:orientation="vertical" - android:paddingLeft="5dip" - android:paddingRight="5dip"> - - <EditText - android:id="@+id/input" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:inputType="textEmailAddress"/> - -</LinearLayout> diff --git a/res/layout/create_key.xml b/res/layout/create_key.xml deleted file mode 100644 index d8ccc73ec..000000000 --- a/res/layout/create_key.xml +++ /dev/null @@ -1,64 +0,0 @@ -<?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. ---> - -<ScrollView - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_height="fill_parent" - android:layout_width="fill_parent"> - - <TableLayout - android:layout_height="fill_parent" - android:layout_width="fill_parent" - android:stretchColumns="1" - android:layout_marginRight="?android:attr/scrollbarSize" - android:paddingLeft="6dip"> - - <TableRow> - - <TextView android:id="@+id/label_algorithm" - android:text="@string/label_algorithm" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <Spinner - android:id="@+id/algorithm" - android:layout_width="fill_parent" - android:layout_height="wrap_content"/> - - </TableRow> - - <TableRow> - - <TextView android:id="@+id/label_size" - android:text="@string/label_keySize" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <EditText android:id="@+id/size" - android:text="1024" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:gravity="right" - android:numeric="integer"/> - </TableRow> - - </TableLayout> - -</ScrollView> diff --git a/res/layout/decrypt.xml b/res/layout/decrypt.xml deleted file mode 100644 index 8bfa76f01..000000000 --- a/res/layout/decrypt.xml +++ /dev/null @@ -1,216 +0,0 @@ -<?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:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true"> - - <ScrollView - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1" - android:fillViewport="true"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" - android:layout_marginLeft="5dip"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <ImageView - android:id="@+id/sourcePrevious" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_previous"/> - - <TextView - android:id="@+id/sourceLabel" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1" - android:text="@string/label_message" - android:textAppearance="?android:attr/textAppearanceMedium" - android:gravity="center_horizontal|center_vertical" - android:textColor="#ffffffff"/> - - <ImageView - android:id="@+id/sourceNext" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_next"/> - - </LinearLayout> - - <ViewFlipper - android:id="@+id/source" - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1"> - - <LinearLayout - android:id="@+id/sourceMessage" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical"> - - <EditText - android:id="@+id/message" - android:inputType="text|textCapSentences|textMultiLine|textLongMessage" - android:scrollHorizontally="true" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:gravity="top"/> - - </LinearLayout> - - <LinearLayout - android:id="@+id/sourceFile" - 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/filename" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <ImageButton - android:id="@+id/btn_browse" - android:src="@drawable/ic_launcher_folder_small" - android:layout_height="wrap_content" - android:layout_width="wrap_content"/> - - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <TextView - android:id="@+id/label_deleteAfterDecryption" - android:text="@string/label_deleteAfterDecryption" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_gravity="center_vertical" - android:paddingRight="10dip" - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1"/> - - <CheckBox - android:id="@+id/deleteAfterDecryption" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - - </LinearLayout> - - </ViewFlipper> - - </LinearLayout> - - </ScrollView> - - <LinearLayout - android:id="@+id/signature" - android:orientation="horizontal" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:clickable="true"> - - <RelativeLayout - android:layout_height="wrap_content" - android:layout_width="wrap_content"> - - <ImageView - android:id="@+id/ic_signature" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/signed_large"/> - - <ImageView - android:id="@+id/ic_signature_status" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/overlay_error"/> - - </RelativeLayout> - - <LinearLayout - android:orientation="vertical" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingLeft="5dip"> - - <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" - android:layout_gravity="left"/> - - <TextView - android:id="@+id/mainUserIdRest" - android:text="Main User Id Rest" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="left"/> - - </LinearLayout> - - </LinearLayout> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - style="@android:style/ButtonBar"> - - <Button - android:id="@+id/btn_reply" - android:text="@string/btn_reply" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1"/> - - <Button - android:id="@+id/btn_decrypt" - android:text="@string/btn_decrypt" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/edit_key.xml b/res/layout/edit_key.xml deleted file mode 100644 index 88be75d86..000000000 --- a/res/layout/edit_key.xml +++ /dev/null @@ -1,87 +0,0 @@ -<?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:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:paddingTop="5dip" - android:fillViewport="true"> - - <ScrollView - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1"> - - <LinearLayout - android:id="@+id/container" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" - android:layout_marginRight="?android:attr/scrollbarSize"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <View - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <Button - android:id="@+id/btn_change_pass_phrase" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="2" - android:text="@string/btn_setPassPhrase"/> - - <View - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - </LinearLayout> - - </LinearLayout> - - </ScrollView> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - style="@android:style/ButtonBar"> - - <Button - android:id="@+id/btn_save" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1" - android:text="@string/btn_save"/> - - <Button - android:id="@+id/btn_discard" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1" - android:text="@string/btn_doNotSave"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/edit_key_key_item.xml b/res/layout/edit_key_key_item.xml deleted file mode 100644 index 850879f64..000000000 --- a/res/layout/edit_key_key_item.xml +++ /dev/null @@ -1,143 +0,0 @@ -<?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. ---> - -<org.apg.ui.widget.KeyEditor - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:paddingLeft="5dip"> - - <View - android:id="@+id/separator" - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider"/> - - <LinearLayout - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:orientation="horizontal"> - - <TableLayout - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_marginLeft="16dip" - android:stretchColumns="1"> - - <TableRow> - - <TextView - android:id="@+id/label_keyId" - android:text="@string/label_keyId" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <TextView - android:id="@+id/keyId" - android:text="00000000 00000000" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingRight="5dip" - android:typeface="monospace"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_algorithm" - android:text="@string/label_algorithm" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <TextView - android:id="@+id/algorithm" - android:text="Name" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingRight="5dip"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_creation" - android:text="@string/label_creation" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <TextView - android:id="@+id/creation" - android:layout_width="fill_parent" - android:layout_height="wrap_content"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_expiry" - android:text="@string/label_expiry" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <Button - android:id="@+id/expiry" - android:layout_width="fill_parent" - android:layout_height="wrap_content"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_usage" - android:text="@string/label_usage" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <Spinner - android:id="@+id/usage" - android:layout_width="fill_parent" - android:layout_height="wrap_content"/> - - </TableRow> - - </TableLayout> - - <ImageButton - android:id="@+id/delete" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="@style/MinusButton" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - -</org.apg.ui.widget.KeyEditor> diff --git a/res/layout/edit_key_section.xml b/res/layout/edit_key_section.xml deleted file mode 100644 index d14748d4b..000000000 --- a/res/layout/edit_key_section.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?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. ---> - -<org.apg.ui.widget.SectionView - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <View - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider"/> - - <LinearLayout - android:id="@+id/header" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginLeft="14dip" - android:layout_marginTop="2dip" - android:layout_marginBottom="2dip" - android:orientation="horizontal" - android:gravity="center_vertical" - android:focusable="true" - android:clickable="true"> - - <TextView - android:id="@+id/title" - android:text="Section Name" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1" - android:textAppearance="?android:attr/textAppearanceMedium" - android:singleLine="true" - android:ellipsize="marquee" - android:fadingEdge="horizontal"/> - - <ImageView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:duplicateParentState="true" - style="@style/PlusButton"/> - - </LinearLayout> - - <LinearLayout - android:id="@+id/editors" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:paddingBottom="6dip" - android:orientation="vertical"/> - -</org.apg.ui.widget.SectionView> diff --git a/res/layout/edit_key_user_id_item.xml b/res/layout/edit_key_user_id_item.xml deleted file mode 100644 index 6e7b552dd..000000000 --- a/res/layout/edit_key_user_id_item.xml +++ /dev/null @@ -1,115 +0,0 @@ -<?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. ---> - -<org.apg.ui.widget.UserIdEditor - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:paddingLeft="5dip"> - - <View - android:id="@+id/separator" - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider"/> - - <RadioButton - android:id="@+id/isMainUserId" - android:text="@string/label_mainUserId" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_marginLeft="20dip"/> - - <LinearLayout - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:orientation="horizontal"> - - <TableLayout - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_marginLeft="16dip"> - - <TableRow> - - <TextView - android:id="@+id/label_name" - android:text="@string/label_name" - android:layout_gravity="center_vertical" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingRight="5dip"/> - - <EditText - android:id="@+id/name" - android:layout_weight="1" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:inputType="textPersonName|textCapWords"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_email" - android:text="@string/label_email" - android:layout_gravity="center_vertical" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingRight="5dip"/> - - <EditText - android:id="@+id/email" - android:layout_weight="1" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:inputType="textEmailAddress"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_comment" - android:text="@string/label_comment" - android:layout_gravity="center_vertical" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingRight="5dip"/> - - <EditText - android:id="@+id/comment" - android:layout_weight="1" - android:layout_height="wrap_content" - android:layout_width="fill_parent"/> - - </TableRow> - - </TableLayout> - - <ImageButton - android:id="@+id/delete" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="@style/MinusButton" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - -</org.apg.ui.widget.UserIdEditor> diff --git a/res/layout/encrypt.xml b/res/layout/encrypt.xml deleted file mode 100644 index 68808c8bf..000000000 --- a/res/layout/encrypt.xml +++ /dev/null @@ -1,382 +0,0 @@ -<?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" - android:paddingTop="5dip"> - - <ScrollView - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1" - android:fillViewport="true"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" - android:layout_marginLeft="5dip"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <ImageView - android:id="@+id/sourcePrevious" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_previous"/> - - <TextView - android:id="@+id/sourceLabel" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1" - android:text="@string/label_message" - android:textAppearance="?android:attr/textAppearanceMedium" - android:gravity="center_horizontal|center_vertical" - android:textColor="#ffffffff"/> - - <ImageView - android:id="@+id/sourceNext" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_next"/> - - </LinearLayout> - - <ViewFlipper - android:id="@+id/source" - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1"> - - <LinearLayout - android:id="@+id/sourceMessage" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical"> - - <EditText - android:id="@+id/message" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:gravity="top" - android:inputType="text|textCapSentences|textMultiLine|textLongMessage"/> - - </LinearLayout> - - <LinearLayout - android:id="@+id/sourceFile" - 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/filename" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <ImageButton - android:id="@+id/btn_browse" - android:src="@drawable/ic_launcher_folder_small" - android:layout_height="wrap_content" - android:layout_width="wrap_content"/> - - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <TextView - android:id="@+id/label_fileCompression" - android:text="@string/label_fileCompression" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <Spinner - android:id="@+id/fileCompression" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <TextView - android:id="@+id/label_deleteAfterEncryption" - android:text="@string/label_deleteAfterEncryption" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_gravity="center_vertical" - android:paddingRight="10dip" - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1"/> - - <CheckBox - android:id="@+id/deleteAfterEncryption" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <TextView - android:id="@+id/label_asciiArmour" - android:text="@string/label_asciiArmour" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_gravity="center_vertical" - android:paddingRight="10dip" - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1"/> - - <CheckBox - android:id="@+id/asciiArmour" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - - </LinearLayout> - - </ViewFlipper> - - <View - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider" - android:layout_marginBottom="5dip"/> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <ImageView - android:id="@+id/modePrevious" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_previous"/> - - <TextView - android:id="@+id/modeLabel" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="1" - android:text="@string/label_asymmetric" - android:textAppearance="?android:attr/textAppearanceMedium" - android:gravity="center_horizontal|center_vertical" - android:textColor="#ffffffff"/> - - <ImageView - android:id="@+id/modeNext" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:src="@drawable/ic_next"/> - - </LinearLayout> - - <ViewFlipper - android:id="@+id/mode" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <LinearLayout - android:id="@+id/modeAsymmetric" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <TextView - android:id="@+id/label_sign" - android:text="@string/label_sign" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - - <LinearLayout - android:orientation="vertical" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="5dip"> - - <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" - android:layout_gravity="right"/> - - <TextView - android:id="@+id/mainUserIdRest" - android:text="Main User Id Rest" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="right"/> - - </LinearLayout> - - <CheckBox - android:id="@+id/sign" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:paddingBottom="3dip" - android:orientation="horizontal"> - - <TextView - android:id="@+id/label_selectPublicKeys" - android:text="@string/label_selectPublicKeys" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_height="wrap_content" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_gravity="center_vertical"/> - - <Button - android:text="@string/btn_selectEncryptKeys" - android:id="@+id/btn_selectEncryptKeys" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - </LinearLayout> - - <TableLayout - android:id="@+id/modeSymmetric" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:stretchColumns="1"> - - <TableRow> - - <TextView - android:id="@+id/label_passPhrase" - android:text="@string/label_passPhrase" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <EditText - android:id="@+id/passPhrase" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:inputType="textPassword"/> - - </TableRow> - - <TableRow> - - <TextView - android:id="@+id/label_passPhraseAgain" - android:text="@string/label_passPhraseAgain" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical" - android:paddingRight="10dip"/> - - <EditText - android:id="@+id/passPhraseAgain" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:inputType="textPassword"/> - - </TableRow> - - </TableLayout> - - </ViewFlipper> - - <View - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider" - android:layout_marginBottom="5dip"/> - - </LinearLayout> - - </ScrollView> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - style="@android:style/ButtonBar"> - - <Button - android:id="@+id/btn_encryptToClipboard" - android:text="@string/btn_encryptToClipboard" - android:layout_weight="1" - android:layout_width="0dip" - android:layout_height="fill_parent"/> - - <Button - android:id="@+id/btn_encrypt" - android:text="@string/btn_encrypt" - android:layout_weight="1" - android:layout_width="0dip" - android:layout_height="fill_parent"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/file_dialog.xml b/res/layout/file_dialog.xml deleted file mode 100644 index bc5a2a214..000000000 --- a/res/layout/file_dialog.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?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="wrap_content" - android:orientation="vertical" - android:paddingLeft="5dip" - android:paddingRight="5dip"> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <EditText - android:id="@+id/input" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <ImageButton - android:id="@+id/btn_browse" - android:src="@drawable/ic_launcher_folder_small" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:layout_gravity="center_vertical"/> - - </LinearLayout> - - <CheckBox - android:id="@+id/checkbox" - android:layout_height="wrap_content" - android:layout_width="wrap_content"/> - -</LinearLayout> diff --git a/res/layout/filter_info.xml b/res/layout/filter_info.xml deleted file mode 100644 index 9fef6548e..000000000 --- a/res/layout/filter_info.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?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="wrap_content" - android:paddingBottom="5dip" - android:orientation="horizontal"> - - <TextView - android:id="@+id/filterInfo" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1" - android:textAppearance="?android:attr/textAppearanceMedium" - android:ellipsize="end"/> - - <Button - android:id="@+id/btn_clear" - android:text="@string/btn_clearFilter" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - -</LinearLayout> diff --git a/res/layout/general.xml b/res/layout/general.xml deleted file mode 100644 index c6702efac..000000000 --- a/res/layout/general.xml +++ /dev/null @@ -1,59 +0,0 @@ -<?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="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <ListView - android:id="@+id/options" - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1" - android:padding="5dip"/> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - style="@android:style/ButtonBar"> - - <Button - android:text="dummy" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1" - android:visibility="invisible"/> - - <Button - android:id="@+id/btn_cancel" - android:text="@android:string/cancel" - android:layout_width="0dip" - android:layout_height="fill_parent" - android:layout_weight="2"/> - - <Button - android:text="dummy" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1" - android:visibility="invisible"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/info.xml b/res/layout/info.xml deleted file mode 100644 index 2507029c4..000000000 --- a/res/layout/info.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?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. ---> - -<ScrollView - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:fillViewport="true" - android:padding="5dip"> - - <TextView - android:id="@+id/message" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:textColor="#ffffffff" - android:autoLink="all"/> -</ScrollView> diff --git a/res/layout/key_list.xml b/res/layout/key_list.xml deleted file mode 100644 index ac07801ab..000000000 --- a/res/layout/key_list.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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"> - - <include android:id="@+id/layout_filter" layout="@layout/filter_info"/> - - <ExpandableListView - android:id="@+id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:isScrollContainer="true"/> - -</LinearLayout>
\ No newline at end of file diff --git a/res/layout/key_list_child_item_master_key.xml b/res/layout/key_list_child_item_master_key.xml deleted file mode 100644 index 998ba256f..000000000 --- a/res/layout/key_list_child_item_master_key.xml +++ /dev/null @@ -1,80 +0,0 @@ -<?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="10dip" - android:layout_marginRight="?android:attr/scrollbarSize" - android:layout_height="?android:attr/listPreferredItemHeight" - android:layout_width="fill_parent"> - - <LinearLayout - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:orientation="horizontal" - android:paddingRight="3dip"> - - <ImageView - android:id="@+id/ic_masterKey" - android:src="@drawable/key_small" - android:paddingRight="6dip" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - - <TextView - android:id="@+id/keyId" - android:text="Key ID" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="5dip" - android:typeface="monospace"/> - - <TextView - android:id="@+id/keyDetails" - android:text="(RSA, 1024bit)" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - <LinearLayout - android:gravity="right" - android:orientation="horizontal" - android:paddingBottom="2dip" - android:paddingTop="2dip" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_gravity="center_vertical"> - - <ImageView - android:id="@+id/ic_encryptKey" - android:src="@drawable/encrypted_small" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - <ImageView - android:id="@+id/ic_signKey" - android:src="@drawable/signed_small" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - </LinearLayout> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/key_list_child_item_sub_key.xml b/res/layout/key_list_child_item_sub_key.xml deleted file mode 100644 index ac7c217a6..000000000 --- a/res/layout/key_list_child_item_sub_key.xml +++ /dev/null @@ -1,72 +0,0 @@ -<?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="40dip" - android:layout_marginRight="?android:attr/scrollbarSize" - android:layout_height="?android:attr/listPreferredItemHeight" - android:layout_width="fill_parent"> - - <LinearLayout - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:orientation="horizontal" - android:paddingRight="3dip"> - - <TextView - android:id="@+id/keyId" - android:text="Key ID" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="5dip" - android:typeface="monospace"/> - - <TextView - android:id="@+id/keyDetails" - android:text="(RSA, 1024bit)" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - <LinearLayout - android:gravity="right" - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:paddingBottom="2dip" - android:paddingTop="2dip" - android:layout_gravity="center_vertical"> - - <ImageView - android:id="@+id/ic_encryptKey" - android:src="@drawable/encrypted_small" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - <ImageView - android:id="@+id/ic_signKey" - android:src="@drawable/signed_small" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - </LinearLayout> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/key_list_child_item_user_id.xml b/res/layout/key_list_child_item_user_id.xml deleted file mode 100644 index 598dcef22..000000000 --- a/res/layout/key_list_child_item_user_id.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?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:paddingLeft="40dip" - android:layout_marginRight="?android:attr/scrollbarSize" - android:singleLine="true" - android:layout_width="fill_parent" - android:layout_height="?android:attr/listPreferredItemHeight"> - - <TextView - android:id="@+id/userId" - android:text="User ID" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:paddingRight="3dip"/> - -</LinearLayout> diff --git a/res/layout/key_list_group_item.xml b/res/layout/key_list_group_item.xml deleted file mode 100644 index 35d0ab367..000000000 --- a/res/layout/key_list_group_item.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?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:layout_marginRight="?android:attr/scrollbarSize" - android:layout_width="fill_parent" - android:layout_height="?android:attr/listPreferredItemHeight"> - - <LinearLayout - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:paddingLeft="36dip"> - - <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:layout_width="fill_parent" - android:layout_height="wrap_content"> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/key_server_editor.xml b/res/layout/key_server_editor.xml deleted file mode 100644 index a02540c2c..000000000 --- a/res/layout/key_server_editor.xml +++ /dev/null @@ -1,52 +0,0 @@ -<?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. ---> - -<org.apg.ui.widget.KeyServerEditor - xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical"> - - <LinearLayout - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:orientation="horizontal" - android:layout_marginLeft="3dip"> - - <EditText - android:id="@+id/server" - android:layout_weight="1" - android:layout_height="wrap_content" - android:layout_width="fill_parent" - android:inputType="textUri"/> - - <ImageButton - android:id="@+id/delete" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - style="@style/MinusButton" - android:layout_gravity="center_vertical" - android:layout_marginRight="3dip"/> - - </LinearLayout> - - <View - android:id="@+id/separator" - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider"/> - -</org.apg.ui.widget.KeyServerEditor> diff --git a/res/layout/key_server_export_layout.xml b/res/layout/key_server_export_layout.xml deleted file mode 100644 index b2270417d..000000000 --- a/res/layout/key_server_export_layout.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?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"> - - <Spinner - android:id="@+id/keyServer" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <Button - android:id="@+id/btn_export_to_server" - android:text="@string/btn_export_to_server" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/key_server_preference.xml b/res/layout/key_server_preference.xml deleted file mode 100644 index 2f5645f62..000000000 --- a/res/layout/key_server_preference.xml +++ /dev/null @@ -1,115 +0,0 @@ -<?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:id="@+android:id/text_layout" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:minHeight="?android:attr/listPreferredItemHeight" - android:gravity="center_vertical"> - - <RelativeLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="16sp" - android:layout_marginRight="6sp" - android:layout_marginTop="6sp" - android:layout_marginBottom="6sp" - android:layout_weight="1" - android:focusable="true" - android:background="@android:drawable/menuitem_background"> - - <TextView - android:id="@+id/title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:focusable="true" - android:singleLine="true" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <TextView - android:id="@+id/summary" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_below="@android:id/title" - android:layout_alignLeft="@android:id/title" - android:textAppearance="?android:attr/textAppearanceSmall" - android:maxLines="2" /> - - </RelativeLayout> - - <ImageView - android:id="@+id/add" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="4dip" - android:layout_marginRight="6dip" - android:layout_gravity="center_vertical" - android:clickable="true" - style="@style/PlusButton"/> - - </LinearLayout> - - <View - android:id="@+id/separator" - android:layout_width="fill_parent" - android:layout_height="1dip" - android:background="?android:attr/listDivider"/> - - <ScrollView - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1" - android:orientation="vertical"> - - <LinearLayout - android:id="@+id/editors" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical"/> - - </ScrollView> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - style="@android:style/ButtonBar"> - - <Button - android:text="@android:string/ok" - android:id="@+id/btn_ok" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <Button - android:text="@android:string/cancel" - android:id="@+id/btn_cancel" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/key_server_query_layout.xml b/res/layout/key_server_query_layout.xml deleted file mode 100644 index 6af4f3644..000000000 --- a/res/layout/key_server_query_layout.xml +++ /dev/null @@ -1,53 +0,0 @@ -<?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"> - - <Spinner - android:id="@+id/keyServer" - android:layout_width="fill_parent" - android:layout_height="wrap_content"/> - - <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 deleted file mode 100644 index 29c8b88f4..000000000 --- a/res/layout/key_server_query_result_item.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?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 deleted file mode 100644 index 9d3a4a1ab..000000000 --- a/res/layout/key_server_query_result_user_id.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?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/layout/mailbox_message_item.xml b/res/layout/mailbox_message_item.xml deleted file mode 100644 index 05a267fb6..000000000 --- a/res/layout/mailbox_message_item.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?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:layout_marginRight="?android:attr/scrollbarSize" - android:paddingTop="3dip" - android:paddingBottom="3dip" - android:layout_height="?android:attr/listPreferredItemHeight" - android:layout_width="fill_parent"> - - <ImageView - android:id="@+id/ic_status" - android:src="@drawable/encrypted" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_vertical"/> - - <LinearLayout - android:orientation="vertical" - android:paddingLeft="5dip" - android:layout_weight="1" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <TextView - android:id="@+id/subject" - android:text="Subject" - android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - <TextView - android:id="@+id/emailAddress" - android:text="user@somewhere.com" - android:textAppearance="?android:attr/textAppearanceSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/main.xml b/res/layout/main.xml deleted file mode 100644 index 803b2abe9..000000000 --- a/res/layout/main.xml +++ /dev/null @@ -1,89 +0,0 @@ -<?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:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:paddingTop="5dip" - android:fillViewport="true"> - - <ScrollView - android:layout_marginTop="10dip" - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1" - android:fillViewport="true"> - - <ListView - android:id="@+id/accounts" - android:layout_width="fill_parent" - android:layout_height="fill_parent"/> - - </ScrollView> - - <LinearLayout - android:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - style="@android:style/ButtonBar"> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <Button - android:id="@+id/btn_encryptFile" - android:text="@string/btn_encryptFile" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_height="fill_parent"/> - - <Button - android:id="@+id/btn_decryptFile" - android:text="@string/btn_decryptFile" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_height="fill_parent"/> - - </LinearLayout> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content"> - - <Button - android:id="@+id/btn_encryptMessage" - android:text="@string/btn_encryptMessage" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_height="fill_parent"/> - - <Button - android:id="@+id/btn_decryptMessage" - android:text="@string/btn_decryptMessage" - android:layout_width="0dip" - android:layout_weight="1" - android:layout_height="fill_parent"/> - - </LinearLayout> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/pass_phrase.xml b/res/layout/pass_phrase.xml deleted file mode 100644 index d66ffca07..000000000 --- a/res/layout/pass_phrase.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?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="wrap_content" - android:orientation="vertical" - android:paddingLeft="5dip" - android:paddingRight="5dip"> - - <EditText - android:id="@+id/passPhrase" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:inputType="textPassword"/> - - <EditText - android:id="@+id/passPhraseAgain" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:inputType="textPassword"/> - -</LinearLayout> diff --git a/res/layout/select_public_key.xml b/res/layout/select_public_key.xml deleted file mode 100644 index 9ce35a7a8..000000000 --- a/res/layout/select_public_key.xml +++ /dev/null @@ -1,55 +0,0 @@ -<?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:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true"> - - <include android:id="@+id/layout_filter" layout="@layout/filter_info"/> - - <ListView - android:id="@+id/list" - android:choiceMode="multipleChoice" - android:layout_width="fill_parent" - android:layout_height="0dip" - android:layout_weight="1"/> - - <LinearLayout - android:orientation="horizontal" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - style="@android:style/ButtonBar"> - - <Button - android:text="@android:string/ok" - android:id="@+id/btn_ok" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - <Button - android:text="@android:string/cancel" - android:id="@+id/btn_cancel" - android:layout_width="0dip" - android:layout_height="wrap_content" - android:layout_weight="1"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/select_public_key_item.xml b/res/layout/select_public_key_item.xml deleted file mode 100644 index beca23176..000000000 --- a/res/layout/select_public_key_item.xml +++ /dev/null @@ -1,82 +0,0 @@ -<?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="?android:attr/listPreferredItemHeight" - android:layout_width="fill_parent"> - - <CheckBox - android:id="@+id/selected" - android:focusable="false" - android:focusableInTouchMode="false" - android:clickable="false" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - <LinearLayout - android:orientation="vertical" - android:paddingLeft="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/status" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="expired" - android:textStyle="italic" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/select_secret_key.xml b/res/layout/select_secret_key.xml deleted file mode 100644 index feabc6160..000000000 --- a/res/layout/select_secret_key.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?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:orientation="vertical" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true"> - - <include android:id="@+id/layout_filter" layout="@layout/filter_info"/> - - <ListView - android:id="@+id/list" - android:layout_width="fill_parent" - android:layout_height="fill_parent"/> - -</LinearLayout> diff --git a/res/layout/select_secret_key_item.xml b/res/layout/select_secret_key_item.xml deleted file mode 100644 index 022545152..000000000 --- a/res/layout/select_secret_key_item.xml +++ /dev/null @@ -1,75 +0,0 @@ -<?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="?android:attr/listPreferredItemHeight" - android:layout_width="fill_parent"> - - <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/status" - android:textAppearance="?android:attr/textAppearanceSmall" - android:text="expired" - android:textStyle="italic" - android:layout_width="wrap_content" - android:layout_height="wrap_content"/> - - </LinearLayout> - -</LinearLayout> diff --git a/res/layout/sign_key_layout.xml b/res/layout/sign_key_layout.xml deleted file mode 100644 index 17be03b21..000000000 --- a/res/layout/sign_key_layout.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?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"> - </LinearLayout> - - <LinearLayout android:layout_width="fill_parent" - android:layout_height="wrap_content" android:orientation="horizontal"> - - <TextView android:id="@+id/textView1" android:layout_height="wrap_content" - android:text="@string/label_sendKey" android:textAppearance="?android:attr/textAppearanceMedium" - android:layout_width="wrap_content"></TextView> - <CheckBox android:text="" android:id="@+id/sendKey" - android:layout_width="wrap_content" android:layout_height="wrap_content" - android:checked="true"></CheckBox> - </LinearLayout> - - <LinearLayout android:layout_width="fill_parent" - android:layout_height="wrap_content" android:orientation="horizontal"> - - <Spinner android:id="@+id/keyServer" android:layout_width="wrap_content" - android:layout_height="wrap_content" android:layout_weight="1" /> - </LinearLayout> - - <Button android:layout_height="wrap_content" - android:layout_width="wrap_content" android:text="@string/btn_sign" - android:id="@+id/sign"></Button> - -</LinearLayout> |