diff options
author | Chet Haase <chet@google.com> | 2013-03-11 07:56:30 -0700 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2013-03-15 15:53:31 -0700 |
commit | 91cedf1c3dbf7a52c2892294b2e5ba3e40ef3583 (patch) | |
tree | ed0a91fd366d32824a49eeb2f19226fbfcf73721 /docs/html/sdk/api_diff/7/changes | |
parent | adb9554d993a8510bfc3866538faaa042d629731 (diff) |
Add overlays to views
It is useful, particularly in animations, to be able to add a view, or at
least some graphics, on top of a view. For example, to have a child of a layout
fade away, we might want to remove the child from that layout and then fade it out
gradually. Meanwhile, we have to have a place to put that view where it will be
drawn. We could do this in the content container sometimes, but this is not a
reliable workaround in the general case, and may obscure other siblings/parents of
the layout/view in the hierarchy. A better approach would be to place a view/graphic
temporarily in the layout itself.
This feature adds the ability to add one or more Views and Drawables to an "overlay"
layer, after which the view will handle drawing that extra content when it redraws itself.
Issue #8350510 Add APIs needed for future animation capabilities
Change-Id: I70bf78c46ee3db8bd87ea1cdc2ecb5c0747ccbf9
Diffstat (limited to 'docs/html/sdk/api_diff/7/changes')
0 files changed, 0 insertions, 0 deletions