aboutsummaryrefslogtreecommitdiffstats
path: root/org_apg/res/values
diff options
context:
space:
mode:
authorDominik <dominik@dominikschuermann.de>2012-03-11 16:33:47 +0100
committerDominik <dominik@dominikschuermann.de>2012-03-11 16:33:47 +0100
commite9c0d7a71157fdff3c4951d91d7a5bc6d1956ef0 (patch)
treee734d6a44a9c6def9dc1138892c95d3c50b0ed27 /org_apg/res/values
parent9ce7842ac9e009b2315242150ef57b25704b5c87 (diff)
downloadopen-keychain-e9c0d7a71157fdff3c4951d91d7a5bc6d1956ef0.tar.gz
open-keychain-e9c0d7a71157fdff3c4951d91d7a5bc6d1956ef0.tar.bz2
open-keychain-e9c0d7a71157fdff3c4951d91d7a5bc6d1956ef0.zip
Started implementation of Dashboard design pattern
Diffstat (limited to 'org_apg/res/values')
-rw-r--r--org_apg/res/values/colors.xml82
-rw-r--r--org_apg/res/values/strings.xml27
-rw-r--r--org_apg/res/values/styles.xml12
3 files changed, 112 insertions, 9 deletions
diff --git a/org_apg/res/values/colors.xml b/org_apg/res/values/colors.xml
new file mode 100644
index 000000000..11d0564f0
--- /dev/null
+++ b/org_apg/res/values/colors.xml
@@ -0,0 +1,82 @@
+<!--
+ Copyright 2011 Google Inc.
+
+ 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.
+-->
+<resources>
+
+<!-- <color name="textColorIconOverlay">#fff</color> -->
+<!-- <color name="textColorIconOverlayShadow">#000</color> -->
+<!-- <color name="shortcut_overlay_text_background">#7f000000</color> -->
+<!-- <color name="quickcontact_list_divider">#ffcdcdcd</color> -->
+<!-- <color name="quickcontact_list_background">#ffe2e2e2</color> -->
+<!-- <color name="quickcontact_tab_indicator">#ff33b5e6</color> -->
+
+ <color name="background_primary">#FFFFFF</color>
+
+ <color name="text_primary">#333</color>
+
+<!-- <color name="background_social_updates">#ffeeeeee</color> -->
+
+ <!-- Color used for the letter in the A-Z section header -->
+ <color name="section_header_text_color">#ff999999</color>
+
+<!-- Color of the text in the updates tab in the tab carousel on the contact detail page -->
+<!-- <color name="detail_update_tab_text_color">#777777</color> -->
+
+<!-- Color of the text describing an unconsumed missed call. -->
+<!-- <color name="call_log_missed_call_highlight_color">#FF0000</color> -->
+
+<!-- Color of the text describing an unconsumed voicemail. -->
+<!-- <color name="call_log_voicemail_highlight_color">#33b5e5</color> -->
+
+<!-- Colour background for the voicemail playback ui. -->
+<!-- <color name="voicemail_playback_ui_background">@android:color/black</color> -->
+
+<!-- Colour of voicemail progress bar to the right of position indicator. -->
+<!-- <color name="voicemail_playback_seek_bar_yet_to_play">#44ffffff</color> -->
+
+<!-- Colour of voicemail progress bar to the left of position indicator. -->
+<!-- <color name="voicemail_playback_seek_bar_already_played">#ccffffff</color> -->
+
+<!-- Colour of text that appears on the voicemail ui. -->
+<!-- <color name="voicemail_playback_ui_text">#cc696969</color> -->
+
+<!-- Color of the theme of the People app -->
+<!-- <color name="people_app_theme_color">#33B5E5</color> -->
+
+<!-- Secondary text color in the Phone app -->
+<!-- <color name="dialtacts_secondary_text_color">#888888</color> -->
+
+<!-- Colors in the contact browser list -->
+<!-- <color name="contact_count_text_color">#AAAAAA</color> -->
+
+<!-- Color of the text of the tab carousel in the contact details -->
+<!-- <color name="detail_tab_carousel_tab_label_color">#EEEEEE</color> -->
+
+<!-- Color of the text for buttons in the action bar -->
+<!-- <color name="action_bar_button_text_color">#FFFFFF</color> -->
+
+<!-- Color of the status message for starred contacts in the People app -->
+<!-- <color name="people_contact_tile_status_color">#CCCCCC</color> -->
+
+<!-- Color of the semi-transparent shadow box on contact tiles -->
+<!-- <color name="contact_tile_shadow_box_color">#7F000000</color> -->
+
+<!-- Color of the vertical stripe that goes on the left of a block quote inside a stream item -->
+<!-- <color name="stream_item_stripe_color">#CCCCCC</color> -->
+
+<!-- Color of image view placeholder. -->
+<!-- <color name="image_placeholder">#DDDDDD</color> -->
+
+</resources> \ No newline at end of file
diff --git a/org_apg/res/values/strings.xml b/org_apg/res/values/strings.xml
index d04d7a5e1..c071d041c 100644
--- a/org_apg/res/values/strings.xml
+++ b/org_apg/res/values/strings.xml
@@ -46,7 +46,7 @@
<string name="title_importFromQRCode">Import from QR Code</string>
<string name="title_signKey">Sign Key</string>
<string name="title_about">About</string>
-
+
<!-- section_lowerCase: capitalized words, no punctuation -->
<string name="section_userIds">User IDs</string>
<string name="section_keys">Keys</string>
@@ -81,7 +81,6 @@
<!-- menu_lowerCase: capitalized words, no punctuation -->
<string name="menu_about">About</string>
- <string name="menu_addAccount">Add GMail Account</string>
<string name="menu_deleteAccount">Delete Account</string>
<string name="menu_managePublicKeys">Manage Public Keys</string>
<string name="menu_manageSecretKeys">Manage Secret Keys</string>
@@ -311,13 +310,7 @@
<string name="fast">fast</string>
<string name="slow">slow</string>
<string name="very_slow">very slow</string>
-
- <!-- about -->
- <string name="about_description">Android Privacy Guard (APG) is a OpenPGP implementation for Android.</string>
- <string name="about_license">License: Apache License 2.0</string>
- <string name="about_version">Version:</string>
- <string name="about_developer">Developer: Thialfihar (Main developer), Senecaso (QRCode, send key, sign key), Markus Doits (AIDL), Oliver Runge, Dominik Schürmann</string>
-
+
<!-- texts -->
<!-- "OI File Manager", "ASTRO", and "K-9 Mail" must not be translated in order for the links to the market to work. -->
<string name="text_help">Install K-9 Mail for the best integration, it supports APG for PGP/INLINE and lets you directly encrypt/decrypt emails.
@@ -326,4 +319,20 @@
\n\nYou can also add a GMail account in the main activity via \"Add Account\", which simplifies decrypting emails received there.
\n\nCheck out the option menus in the various activities to find more functions.</string>
+ <!-- APG Plus -->
+
+
+ <!-- about -->
+ <string name="about_description">Android Privacy Guard (APG) is a OpenPGP implementation for Android.</string>
+ <string name="about_license">License: Apache License 2.0</string>
+ <string name="about_version">Version:</string>
+ <string name="about_developer">Developer: Thialfihar (Main developer), Senecaso (QRCode, send key, sign key), Markus Doits (AIDL), Oliver Runge, Dominik Schürmann</string>
+
+ <!-- Dashboard -->
+ <string name="dashboard_manage_keys">Manage Keys</string>
+ <string name="dashboard_my_keys">My Keys</string>
+ <string name="dashboard_encrypt_decrypt_file">Encrypt File</string>
+ <string name="dashboard_encrypt_decrypt_text">Encrypt Text</string>
+ <string name="dashboard_help">Help</string>
+
</resources> \ No newline at end of file
diff --git a/org_apg/res/values/styles.xml b/org_apg/res/values/styles.xml
index 2a2a69341..b1c282cd2 100644
--- a/org_apg/res/values/styles.xml
+++ b/org_apg/res/values/styles.xml
@@ -27,4 +27,16 @@
<item name="android:src">@drawable/ic_btn_round_plus</item>
</style>
+ <style name="DashboardButton">
+ <item name="android:layout_gravity">center_vertical</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:gravity">center_horizontal</item>
+ <item name="android:drawablePadding">2dp</item>
+ <item name="android:textSize">14sp</item>
+ <item name="android:textStyle">bold</item>
+ <item name="android:textColor">@color/text_primary</item>
+ <item name="android:background">@android:color/transparent</item>
+ </style>
+
</resources> \ No newline at end of file