summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Westbrook <pwestbro@google.com>2012-05-17 11:26:29 -0700
committerPaul Westbrook <pwestbro@google.com>2012-05-17 11:26:29 -0700
commit9b1e5f8d100cca9f67ca8c8970129a08501d1408 (patch)
tree25adfa3f70e2dd31db80684a8fc4fef4a6ee1e56
parent3b8d046a6122ac0546716b129b442da2c63191c7 (diff)
downloadmailcommon-9b1e5f8d100cca9f67ca8c8970129a08501d1408.tar.gz
Moved common styles/strings to mailcommon
Bug: 6507595 Change-Id: I722d18422127a0ad93d1e084d939bf6fdf1754fa
-rw-r--r--res/values/strings.xml29
-rw-r--r--res/values/styles.xml8
2 files changed, 37 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..194755b
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+ * Copyright (C) 2012 Google Inc.
+ * Licensed to The Android Open Source Project.
+ *
+ * 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Format string used when displaying a summary in a message summary in list notification that was triggered by several new conversations.
+ Extra space between sender and subject is intentional. [CHAR LIMIT=120] -->
+ <string name="multiple_new_message_notification_item"><b><xliff:g id="sender">%1$s</xliff:g></b>\u0020\u0020\u0020<xliff:g id="subject">%2$s</xliff:g></string>
+
+ <!-- Format string used when displaying the big text of a notification that was triggered by a single new conversation. [CHAR LIMIT=120] -->
+ <string name="single_new_message_notification_big_text"><xliff:g id="subject">%1$s</xliff:g>\n<xliff:g id="snippet">%2$s</xliff:g></string>
+
+</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 5831c0d..ef62b10 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -160,4 +160,12 @@
<style name="AccountSpinnerAnchorTextSecondary" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Subtitle">
<item name="android:textColor">@color/actionbar_secondary</item>
</style>
+
+ <style name="NotificationPrimaryText">
+ <item name="android:textColor">#cccccc</item>
+ </style>
+
+ <style name="NotificationSecondaryText">
+ </style>
+
</resources>