Fixed
Status Update
Comments
th...@google.com <th...@google.com> #2
Looks like this issue is happening for visibility in general.
If you run the "Complex Motion Example (4/4) in the examples, the visibility of the background image is always invisible. See the video attached.
If I run the same sample with constraintlayout-2.0.0-alpha2, the issue didn't happen.
If you run the "Complex Motion Example (4/4) in the examples, the visibility of the background image is always invisible. See the video attached.
If I run the same sample with constraintlayout-2.0.0-alpha2, the issue didn't happen.
ni...@google.com <ni...@google.com>
ni...@google.com <ni...@google.com> #3
Should be fixed in ConstraintLayout 2.0 alpha 4. Don't hesitate to reopen if problems still happen. Thanks!
jd...@gmail.com <jd...@gmail.com> #4
I am still having this issue in `2.0.0-beta1`
I just have a progressBar inside my motionLayout and remove it when data is received. No other code than this:
This view is inside the MotionLayout but it is not included in the MotionScene file
```
if (data != null){
todayProgressBar.setVisibility(View.INVISIBLE);
}
```
I just have a progressBar inside my motionLayout and remove it when data is received. No other code than this:
This view is inside the MotionLayout but it is not included in the MotionScene file
```
if (data != null){
todayProgressBar.setVisibility(View.INVISIBLE);
}
```
ho...@google.com <ho...@google.com> #5
All views are included in a ConstraintSet They get them from the referencing motionLayout.
ConstraintSets are not a list of changes. Within MotionScene a constraintSet is derived from the motionlayout and overridden.
To ignore visibility of a view add:
<Constraint android:id="xxx"> <PropertySet app:visibilityMode="ignore"/> </Constraint>
to the ConstraintSets
ConstraintSets are not a list of changes. Within MotionScene a constraintSet is derived from the motionlayout and overridden.
To ignore visibility of a view add:
<Constraint android:id="xxx"> <PropertySet app:visibilityMode="ignore"/> </Constraint>
to the ConstraintSets
Description
When transitioning from start -> end -> start, the original state of the constraintSetStart is not preserved.
For example, the transition attached, when the transition is made from end -> start, the content of the bottom is invisible (should be visible) and the
two buttons on the top ImageView are visible (should be invisible).
It can be reproducible in this pull request
And launch the "YouTube like motion Example".