summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2010-11-03 13:27:40 -0700
committerAdam Cohen <adamcohen@google.com>2010-11-10 17:18:37 -0800
commita02fdf1ba03fad71cc80a89dfc74b17456d5b4a5 (patch)
tree79c461e2fe264625da73b202c6acf3ef639e9813 /core/res
parentec4d82046bcdaa6ea1d43601c9d0673444f3e3bf (diff)
downloadframeworks_base-a02fdf1ba03fad71cc80a89dfc74b17456d5b4a5.zip
frameworks_base-a02fdf1ba03fad71cc80a89dfc74b17456d5b4a5.tar.gz
frameworks_base-a02fdf1ba03fad71cc80a89dfc74b17456d5b4a5.tar.bz2
Adding widget auto-advance capability
Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
Diffstat (limited to 'core/res')
-rwxr-xr-xcore/res/res/values/attrs.xml3
-rw-r--r--core/res/res/values/public.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml
index 2a942b8..5d3dc03 100755
--- a/core/res/res/values/attrs.xml
+++ b/core/res/res/values/attrs.xml
@@ -4048,6 +4048,9 @@
<!-- A preview of what the AppWidget will look like after it's configured.
If not supplied, the AppWidget's icon will be used. -->
<attr name="previewImage" format="reference" />
+ <!-- The view id of the AppWidget subview which should be auto-advanced.
+ by the widget's host. -->
+ <attr name="autoAdvanceViewId" format="reference" />
</declare-styleable>
<!-- =============================== -->
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml
index ef609a2..ff12e8f 100644
--- a/core/res/res/values/public.xml
+++ b/core/res/res/values/public.xml
@@ -1363,6 +1363,7 @@
<public type="attr" name="enterFadeDuration" />
<public type="attr" name="exitFadeDuration" />
<public type="attr" name="selectableItemBackground" />
+ <public type="attr" name="autoAdvanceViewId" />
<public type="anim" name="animator_fade_in" />
<public type="anim" name="animator_fade_out" />