am 3f0476a4: Basic API for third-party apps to define custom Data rows.

Merge commit '3f0476a4e283ce4e55caac016293dafe9dca11fa' into eclair-plus-aosp

* commit '3f0476a4e283ce4e55caac016293dafe9dca11fa':
  Basic API for third-party apps to define custom Data rows.
This commit is contained in:
Jeff Sharkey
2009-09-21 21:11:32 -07:00
committed by Android Git Automerger
2 changed files with 21 additions and 0 deletions

View File

@@ -3486,13 +3486,31 @@
<!-- Contacts meta-data attributes -->
<!-- =============================== -->
<!-- TODO: remove this deprecated styleable -->
<declare-styleable name="Icon">
<attr name="icon" />
<attr name="mimeType" />
</declare-styleable>
<!-- TODO: remove this deprecated styleable -->
<declare-styleable name="IconDefault">
<attr name="icon" />
</declare-styleable>
<!-- Maps a specific contact data MIME-type to styling information -->
<declare-styleable name="ContactsDataKind">
<!-- Mime-type handled by this mapping -->
<attr name="mimeType" />
<!-- Title used to represent data of this kind -->
<attr name="title" />
<!-- Icon used to represent data of this kind -->
<attr name="icon" />
<!-- Column in data table that summarizes this data -->
<attr name="summaryColumn" format="string" />
<!-- Column in data table that contains details for this data -->
<attr name="detailColumn" format="string" />
<!-- Flag indicating that detail should be built from SocialProvider -->
<attr name="detailSocialSummary" format="boolean" />
</declare-styleable>
</resources>

View File

@@ -1166,6 +1166,9 @@
<public type="attr" name="accountPreferences" />
<public type="attr" name="textAppearanceSearchResultSubtitle" />
<public type="attr" name="textAppearanceSearchResultTitle" />
<public type="attr" name="summaryColumn" />
<public type="attr" name="detailColumn" />
<public type="attr" name="detailSocialSummary" />
<public type="style" name="Theme.Wallpaper" />
<public type="style" name="Theme.Wallpaper.NoTitleBar" />