diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 22 | ||||
-rw-r--r-- | res/values/dimens.xml | 4 | ||||
-rw-r--r-- | res/values/strings.xml | 78 | ||||
-rw-r--r-- | res/values/styles.xml | 23 |
4 files changed, 127 insertions, 0 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index 901604d70..c6fa69789 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -59,4 +59,26 @@ <color name="aftv_shadowColor">#b0000000</color> <color name="folder_background">#141a1e</color> + + <!-- CM Home --> + <!-- Card Color --> + <color name="card_background">#FFF</color> + <color name="icon_background_orange">#F9A43E</color> + <color name="icon_background_purple">#AD62A7</color> + <color name="icon_background_yellow">#E4C62E</color> + <color name="icon_background_pink">#F16364</color> + <color name="icon_background_blue">#2093CD</color> + + <array name="icon_background_colors"> + <item>@color/icon_background_orange</item> + <item>@color/icon_background_purple</item> + <item>@color/icon_background_yellow</item> + <item>@color/icon_background_pink</item> + <item>@color/icon_background_blue</item> + </array> + + <color name="home_next_text_divider">#FFF</color> + <color name="calendar_text_primary">#FFF</color> + <color name="calendar_text_secondary">#7cffffff</color> + </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 97a12abdc..d9dde980b 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -145,4 +145,8 @@ <!-- Folder open animation --> <integer name="folder_translate_y_dist">300</integer> <integer name="folder_icon_translate_y_dist">100</integer> + + <!-- CM Home --> + <dimen name="card_background_default_radius">2dip</dimen> + </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index adaa25a04..c7e6952da 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -308,4 +308,82 @@ s --> <string name="abandoned_promise_explanation">The app for this icon isn\'t installed. You can remove it, or search for the app and install it manually. </string> + + <!-- CM Home --> + <!-- Permissions --> + <string name="permission_label_read_extension_data">request DashClock extension data</string> + <string name="permission_desc_read_extension_data">Allows the app to request DashClock extension data</string> + + <!-- CM Home API permissions --> + <string name="permission_desc_feed_host">Allows the app to read and write to any application + that publishes cards to CM Home</string> + <string name="permission_label_feed_host">publish and unpublish cards from CM Home</string> + <string name="permission_desc_feed_publish">Allows the app to add new cards to CM Home</string> + <string name="permission_label_feed_publish">publish cards to launcher CM Home</string> + + <string name="dashclock_activity_not_found_toast_message">The intended Activity for this extension was not found. Please contact the developer for more info.</string> + <string name="dashclock_card_expand_action">Action</string> + <string name="dashclock_card_expand_settings">Settings</string> + <string name="no_extensions_card_title">Get some extensions!</string> + <string name="no_extensions_card_body">Looks like you don\'t have any installed extensions. CM Home currently supports DashClock extensions, so go get some and check back here!</string> + + <string name="contact_card_title">Recent Contacts</string> + <string name="calendar_card_title">Today</string> + <string name="news_card_title">News</string> + + + <string-array name="contact_card"> + <item name="uri_1">URI one</item> + <item name="uri_2">URI two</item> + <item name="uri_3">URI three</item> + <item name="uri_4">URI four</item> + </string-array> + + <string-array name="calendar_card"> + <item name="start_time">1437850800000</item> + <item name="end_time">1437811200000</item> + <item name="title">Stand-up</item> + <item name="location">Conference Room</item> + </string-array> + + <string-array name="news_1"> + <item name="news_image_url">http://slidell-independent.com/wp-content/uploads/2013/01/wsne.jpg</item> + <item name="news_title">Fiat recalls 1.4 million vehicles after hack of Jeep Cherokee</item> + <item name="source">Los Angeles Times</item> + <item name="time">1437834180000</item> + <item name="url">www.google.com</item> + </string-array> + + <string-array name="news_2"> + <item name="news_image_url">http://slidell-independent.com/wp-content/uploads/2013/01/wsne.jpg</item> + <item name="news_title">Fiat recalls 1.4 million vehicles after hack of Jeep Cherokee</item> + <item name="source">Los Angeles Times</item> + <item name="time">1437834180000</item> + <item name="url">www.google.com</item> + </string-array> + + <string-array name="news_3"> + <item name="news_image_url">http://slidell-independent.com/wp-content/uploads/2013/01/wsne.jpg</item> + <item name="news_title">Fiat recalls 1.4 million vehicles after hack of Jeep Cherokee</item> + <item name="source">Los Angeles Times</item> + <item name="time">1437834180000</item> + <item name="url">www.google.com</item> + </string-array> + + <string-array name="news_4"> + <item name="news_image_url">http://slidell-independent.com/wp-content/uploads/2013/01/wsne.jpg</item> + <item name="news_title">Fiat recalls 1.4 million vehicles after hack of Jeep Cherokee</item> + <item name="source">Los Angeles Times</item> + <item name="time">1437834180000</item> + <item name="url">www.google.com</item> + </string-array> + + <string-array name="spoof_data"> + <item>@array/contact_card</item> + <item>@array/calendar_card</item> + <item>@array/news_1</item> + <item>@array/news_2</item> + <item>@array/news_3</item> + <item>@array/news_4</item> + </string-array> </resources> diff --git a/res/values/styles.xml b/res/values/styles.xml index bb0401868..02c98b96b 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -138,4 +138,27 @@ <style name="SearchButton.WithPaddingStart"> <item name="android:paddingLeft">8dp</item> </style> + + <!-- CM Home --> + <style name="dashclock_card_inner_status_text"> + <item name="android:textSize">14sp</item> + <item name="android:textColor">@android:color/darker_gray</item> + <item name="android:layout_marginLeft">@dimen/card_header_simple_title_margin_left</item> + </style> + + <style name="dashclock_card_inner_body_text"> + <item name="android:textSize">14sp</item> + <item name="android:layout_marginLeft">@dimen/card_header_simple_title_margin_left</item> + <item name="android:textColor">@android:color/black</item> + </style> + + <style name="simple_message_card_inner_title_text"> + <item name="android:textSize">20sp</item> + <item name="android:textColor">@android:color/black</item> + </style> + <style name="simple_message_card_inner_body_text"> + <item name="android:textSize">14sp</item> + <item name="android:textColor">@android:color/black</item> + </style> + </resources> |