am e25130d4: am e6308c7e: am 52fb8a42: am 1a285496: Merge "Allow using setLeft/Top/Right/Bottom to control ChangeBounds." into lmp-dev
* commit 'e25130d4e54f14913976c61408fee949d9f3cf8f': Allow using setLeft/Top/Right/Bottom to control ChangeBounds.
This commit is contained in:
@@ -118,7 +118,7 @@ public class ChangeBounds extends Transition {
|
||||
private void captureValues(TransitionValues values) {
|
||||
View view = values.view;
|
||||
|
||||
if (view.isLaidOut()) {
|
||||
if (view.isLaidOut() || view.getWidth() != 0 || view.getHeight() != 0) {
|
||||
values.values.put(PROPNAME_BOUNDS, new Rect(view.getLeft(), view.getTop(),
|
||||
view.getRight(), view.getBottom()));
|
||||
values.values.put(PROPNAME_PARENT, values.view.getParent());
|
||||
|
||||
Reference in New Issue
Block a user