diff options
author | Mady Mellor <madym@google.com> | 2016-04-30 17:31:02 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2016-05-24 11:39:12 -0700 |
commit | b0a824687f56b6950338aad169d8d837f8ed657b (patch) | |
tree | 22a9a1a83e3cfb93f86d89f47c2a52c08ff76242 /rs/java/android/renderscript/RenderScript.java | |
parent | a3ec065a43069a19dc42f023a40d54a3178f1b44 (diff) |
Children should have backgrounds
To add a background to children of a group, a couple of things
are changed when a group is in the expanded state:
- The parent's shadow + background is removed
- The group header is given a background and elevation
- The children are elevated to cast a shadow and have backgrounds
- When it's fully expanded the dividers won't be shown
- There's extra height added to the parent so that the child
may cast the bottom shadow of the group
- As the children move into the bottom stack the last visible
one alters its height and the ones below it are hidden
to achieve the clipping effect
Fixes: 27591195
Fixes: 28655641
Change-Id: I0484308843e9b8bc10391387e54de07973a48f7d
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions