OSDN Git Service

Let RemoteViews nest children, allow ViewFlipper.
authorJeff Sharkey <jsharkey@android.com>
Thu, 5 Nov 2009 01:58:08 +0000 (17:58 -0800)
committerJeff Sharkey <jsharkey@android.com>
Mon, 16 Nov 2009 22:27:19 +0000 (14:27 -0800)
commit1162fd77a8ff8467c96204c00bcaf941aef6aa85
tree49aaf5420a1817823f70ac83ba238f22a2793236
parentec8178eb0fb10e1ed753be4d065cf7f004355575
Let RemoteViews nest children, allow ViewFlipper.

This change allows applications to nest children RemoteViews
inside an existing set of RemoteViews.  These nested views
are inflated and treated as addView() calls.

This change also allows ViewFlipper through RemoteViews, and
adds logic surpress flipping when the parent window is
detached or behind the lockscreen.  Also fixes ViewAnimator
to observe the measureAllChildren flag when set.

Fixes http://b/2239905
api/current.xml
core/java/android/widget/RemoteViews.java
core/java/android/widget/ViewAnimator.java
core/java/android/widget/ViewFlipper.java
core/res/res/values/attrs.xml
core/res/res/values/public.xml