aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/src/main/res
diff options
context:
space:
mode:
authormar-v-in <github@rvin.mooo.com>2014-07-31 22:21:46 +0200
committermar-v-in <github@rvin.mooo.com>2014-07-31 22:21:46 +0200
commit0c7eea225b7c04549e92c8c7729bf0e7a04aa5c7 (patch)
tree30668f8f220ff6018aa4406b5beb3f5bf1976d77 /OpenKeychain/src/main/res
parent1e4f0c6b000167ff5a596ed0b0763141f2a2527f (diff)
downloadopen-keychain-0c7eea225b7c04549e92c8c7729bf0e7a04aa5c7.tar.gz
open-keychain-0c7eea225b7c04549e92c8c7729bf0e7a04aa5c7.tar.bz2
open-keychain-0c7eea225b7c04549e92c8c7729bf0e7a04aa5c7.zip
- add multi select for storage api (kitkat)
- UI fixes - refactoring
Diffstat (limited to 'OpenKeychain/src/main/res')
-rw-r--r--OpenKeychain/src/main/res/layout/encrypt_asymmetric_fragment.xml25
-rw-r--r--OpenKeychain/src/main/res/layout/encrypt_content.xml20
-rw-r--r--OpenKeychain/src/main/res/layout/encrypt_file_fragment.xml10
-rw-r--r--OpenKeychain/src/main/res/values/strings.xml2
4 files changed, 27 insertions, 30 deletions
diff --git a/OpenKeychain/src/main/res/layout/encrypt_asymmetric_fragment.xml b/OpenKeychain/src/main/res/layout/encrypt_asymmetric_fragment.xml
index b5d7b98cd..74d723d69 100644
--- a/OpenKeychain/src/main/res/layout/encrypt_asymmetric_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/encrypt_asymmetric_fragment.xml
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:paddingTop="4dp"
- android:paddingBottom="4dp"
- android:paddingRight="16dp"
- android:paddingLeft="16dp">
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingTop="4dp"
+ android:paddingBottom="4dp"
+ android:paddingRight="16dp"
+ android:paddingLeft="16dp">
<LinearLayout
android:layout_width="match_parent"
@@ -22,16 +23,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
- android:text="From: "/>
+ android:text="@string/from"/>
<Spinner
android:id="@+id/sign"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:text="@string/label_sign"
- android:padding="0dp"
- android:layout_margin="0dp"
- />
+ android:layout_gravity="center_vertical"/>
</LinearLayout>
diff --git a/OpenKeychain/src/main/res/layout/encrypt_content.xml b/OpenKeychain/src/main/res/layout/encrypt_content.xml
index ec71b25e5..b2bdbf7b5 100644
--- a/OpenKeychain/src/main/res/layout/encrypt_content.xml
+++ b/OpenKeychain/src/main/res/layout/encrypt_content.xml
@@ -1,15 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/content_frame"
- android:layout_marginLeft="@dimen/drawer_content_padding"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/content_frame"
+ android:layout_marginLeft="@dimen/drawer_content_padding"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
<org.sufficientlysecure.keychain.ui.widget.NoSwipeWrapContentViewPager
- android:id="@+id/encrypt_pager_mode"
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:id="@+id/encrypt_pager_mode"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical">
</org.sufficientlysecure.keychain.ui.widget.NoSwipeWrapContentViewPager>
diff --git a/OpenKeychain/src/main/res/layout/encrypt_file_fragment.xml b/OpenKeychain/src/main/res/layout/encrypt_file_fragment.xml
index 156fce8f0..3110b059e 100644
--- a/OpenKeychain/src/main/res/layout/encrypt_file_fragment.xml
+++ b/OpenKeychain/src/main/res/layout/encrypt_file_fragment.xml
@@ -10,17 +10,11 @@
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:orientation="vertical">
-
- <View
- android:layout_width="match_parent"
- android:layout_height="1dip"
- android:background="?android:attr/listDivider"
- android:layout_marginBottom="8dp"/>
-
<ListView
android:id="@+id/selected_files_list"
android:dividerHeight="4dip"
android:divider="@android:color/transparent"
+ android:layout_marginTop="8dp"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_weight="1"/>
@@ -30,6 +24,8 @@
android:layout_height="1dip"
android:background="?android:attr/listDivider"/>
+ <!-- Note: The following construct should be a widget, we use it quiet often -->
+
<LinearLayout
android:id="@+id/action_encrypt_share"
android:paddingLeft="8dp"
diff --git a/OpenKeychain/src/main/res/values/strings.xml b/OpenKeychain/src/main/res/values/strings.xml
index 3c88dd0af..f6c065c42 100644
--- a/OpenKeychain/src/main/res/values/strings.xml
+++ b/OpenKeychain/src/main/res/values/strings.xml
@@ -56,6 +56,7 @@
<string name="btn_decrypt_verify_clipboard">From Clipboard</string>
<string name="btn_encrypt_file">Encrypt and save file</string>
<string name="btn_encrypt_share_file">Encrypt and share file</string>
+ <string name="btn_encrypt_sign_share">Encrypt, sign and share</string>
<string name="btn_save">Save</string>
<string name="btn_do_not_save">Cancel</string>
<string name="btn_delete">Delete</string>
@@ -166,6 +167,7 @@
</plurals>
<string name="secret_key">Secret Key:</string>
+ <string name="from">From:</string>
<!-- choice -->
<string name="choice_none">None</string>