From 2b303d35583a31dfa994ca722f98446a474eb5ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Sch=C3=BCrmann?= Date: Fri, 6 Sep 2013 08:29:56 +0200 Subject: [PATCH] select key for api apps --- .../layout/actionbar_include_done_button.xml | 2 +- .../res/layout/api_app_settings_activity.xml | 8 +- .../res/layout/api_app_settings_fragment.xml | 61 +++++++-- .../keychain/provider/KeychainContract.java | 2 +- .../keychain/provider/KeychainDatabase.java | 2 +- .../remote_api/AppSettingsActivity.java | 123 +++++++++++++++--- .../remote_api/AppSettingsFragment.java | 16 --- 7 files changed, 165 insertions(+), 49 deletions(-) diff --git a/OpenPGP-Keychain/res/layout/actionbar_include_done_button.xml b/OpenPGP-Keychain/res/layout/actionbar_include_done_button.xml index e14853be3..54e5933e3 100644 --- a/OpenPGP-Keychain/res/layout/actionbar_include_done_button.xml +++ b/OpenPGP-Keychain/res/layout/actionbar_include_done_button.xml @@ -31,6 +31,6 @@ android:drawablePadding="8dp" android:gravity="center_vertical" android:paddingRight="20dp" - android:text="Save (set in-code!)" /> + android:text="Done (set in-code!)" /> \ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml b/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml index 3157a3f09..c80d767ac 100644 --- a/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml +++ b/OpenPGP-Keychain/res/layout/api_app_settings_activity.xml @@ -1,8 +1,10 @@ - + android:layout_height="fill_parent" + android:orientation="vertical" + android:padding="8dp" > - \ No newline at end of file + \ No newline at end of file diff --git a/OpenPGP-Keychain/res/layout/api_app_settings_fragment.xml b/OpenPGP-Keychain/res/layout/api_app_settings_fragment.xml index 6db366297..307da3efb 100644 --- a/OpenPGP-Keychain/res/layout/api_app_settings_fragment.xml +++ b/OpenPGP-Keychain/res/layout/api_app_settings_fragment.xml @@ -4,20 +4,38 @@ android:layout_height="fill_parent" android:orientation="vertical" > - + + + + +