summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2010-09-28 14:53:47 -0700
committerAdam Cohen <adamcohen@google.com>2010-10-01 17:18:43 -0700
commit1b065cd1401253f999caa5d0ac12909407cef00e (patch)
tree6d26e9c2477308aa2a08c3f866f4a16d6b000412 /core/res
parentefb8a3d6e058c8bc90bb9da6c58dde453f359851 (diff)
downloadframeworks_base-1b065cd1401253f999caa5d0ac12909407cef00e.zip
frameworks_base-1b065cd1401253f999caa5d0ac12909407cef00e.tar.gz
frameworks_base-1b065cd1401253f999caa5d0ac12909407cef00e.tar.bz2
Added looping parameter to AdapterViewAnimator / StackView
Change-Id: Iad36f7c0e657ffbae6dd17d0c9464ddf12de8b7b
Diffstat (limited to 'core/res')
-rwxr-xr-xcore/res/res/values/attrs.xml5
-rw-r--r--core/res/res/values/public.xml1
2 files changed, 5 insertions, 1 deletions
diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml
index 317b3f3..5df95de 100755
--- a/core/res/res/values/attrs.xml
+++ b/core/res/res/values/attrs.xml
@@ -2384,8 +2384,11 @@
<attr name="inAnimation" />
<!-- Identifier for the animation to use when a view is hidden. -->
<attr name="outAnimation" />
+ <!--Defines whether the animator loops to the first view once it
+ has reached the end of the list. -->
+ <attr name="loopViews" format="boolean" />
<!-- Defines whether to animate the current View when the ViewAnimation
- is first displayed. -->
+ is first displayed. -->
<attr name="animateFirstView" />
</declare-styleable>
<declare-styleable name="AdapterViewFlipper">
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml
index adcbb10..8592820 100644
--- a/core/res/res/values/public.xml
+++ b/core/res/res/values/public.xml
@@ -1360,6 +1360,7 @@
<public type="attr" name="breadCrumbShortTitle" />
<public type="attr" name="listDividerAlertDialog" />
<public type="attr" name="textColorAlertDialogListItem" />
+ <public type="attr" name="loopViews" />
<public type="anim" name="animator_fade_in" />
<public type="anim" name="animator_fade_out" />