summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-11-25 17:18:33 -0800
committerYorke Lee <yorkelee@google.com>2013-11-25 17:24:20 -0800
commit3aa2cb56ece8461f2df69d9300c9a1abf03f6989 (patch)
tree077eeec69e24ecdfc89dfd18a217e517d39b6546 /res
parentdc3381a23c9bb3711f6283fe1b3663a502770892 (diff)
downloadandroid_packages_apps_ContactsCommon-3aa2cb56ece8461f2df69d9300c9a1abf03f6989.tar.gz
android_packages_apps_ContactsCommon-3aa2cb56ece8461f2df69d9300c9a1abf03f6989.tar.bz2
android_packages_apps_ContactsCommon-3aa2cb56ece8461f2df69d9300c9a1abf03f6989.zip
Remove private references to android.R.styleable
Define these framework attributes in our own attr.xml and use as necessary Bug: 6948882 Change-Id: I6862451133844251315dafeffd1921720eeb4964
Diffstat (limited to 'res')
-rw-r--r--res/values/attrs.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 9e8c08d8..204778ff 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -15,6 +15,25 @@
-->
<resources>
+ <declare-styleable name="Theme">
+ <attr name="android:textColorSecondary" />
+ </declare-styleable>
+
+ <declare-styleable name="ContactsDataKind">
+ <!-- Mime-type handled by this mapping. -->
+ <attr name="android:mimeType" />
+ <!-- Icon used to represent data of this kind. -->
+ <attr name="android:icon" />
+ <!-- Column in data table that summarizes this data. -->
+ <attr name="android:summaryColumn" />
+ <!-- Column in data table that contains details for this data. -->
+ <attr name="android:detailColumn" />
+ <!-- Flag indicating that detail should be built from SocialProvider. -->
+ <attr name="android:detailSocialSummary" />
+ <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
+ "All connections"). Optional (Default is "All Contacts"). -->
+ <attr name="android:allContactsName" />
+ </declare-styleable>
<declare-styleable name="ContactListItemView">
<attr name="list_item_height" format="dimension"/>