Started implementation of Dashboard design pattern
This commit is contained in:
82
org_apg/res/values/colors.xml
Normal file
82
org_apg/res/values/colors.xml
Normal file
@@ -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>
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user