summaryrefslogtreecommitdiffstats
path: root/res/values/attrs.xml
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2009-05-21 01:33:30 -0700
committerJeff Sharkey <jsharkey@android.com>2009-05-21 14:34:05 -0700
commit549aa16d217741682827ba5c51da3bfc7c2679c0 (patch)
tree83310df98037318513b48eaacc299de5ba40b958 /res/values/attrs.xml
parent282f52277f1394008daec7ddaa61508990befaa0 (diff)
downloadpackages_apps_Contacts-549aa16d217741682827ba5c51da3bfc7c2679c0.tar.gz
packages_apps_Contacts-549aa16d217741682827ba5c51da3bfc7c2679c0.tar.bz2
packages_apps_Contacts-549aa16d217741682827ba5c51da3bfc7c2679c0.zip
Moved fast-track to real window, summarize multiple track icons.
Moved fast-track away from using a PopupWindow (which expected a View to get the parent Window IBinder), and instead are using our own Window. This allows us to set custom parameters like dimming and catching touches outside of our window area. Removed FloatyListView since the fast-track no longer follows ListView scrolling--instead outside touches dismiss the fast-track. Changed fast-track handling of actionable contact methods to summarize duplicate methods into one icon. Future plan is to "fold out" the fast-track to resolve between multiple methods. Also added notion of text-messaging as a separate action on a Phone item. To prepare for duplicate resolution, we added the notion of a summary column (from the data table) to each Mapping. We display the resolved value to the user when they need to pick between duplicates. Changed Mapping resolution to check for "common" package names first so that phone numbers owned by other packages are all shown correctly with generic icon. Fixed so that pressing back button will always dismiss the fast-track dialog when shown. (It now behaves the same regardless of where it's being shown.) Added status, presence, and profile action to fast-track. Changed social stream so that tapping photo triggers fast-track, instead of only using gesture approach.
Diffstat (limited to 'res/values/attrs.xml')
-rw-r--r--res/values/attrs.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 08f02dbc4..de35898b3 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -23,6 +23,8 @@
<attr name="remoteViews" format="reference" />
<!-- Icon that should be used to represent this data -->
<attr name="icon" format="reference" />
+ <!-- Column in data table to summarize this data -->
+ <attr name="summaryColumn" format="string" />
</declare-styleable>
<declare-styleable name="EdgeTriggerView">
@@ -33,5 +35,4 @@
</attr>
</declare-styleable>
-
</resources>