ConstraintLayout Group vs Layer

Viewed 1491

What's the difference between ConstraintLayout Group and Layer?

I understand we can control the visibility of a Group, but can we control its alpha transparency as well? I want to change some of my Views transparency as a user drags a SeekBar, proportionately of the SeekBar value.

2 Answers

Layer is added in constraint layout 2.0.

It adds the ability to move and rotate/scale a group of views as if they were contained in a ViewGroup. For simple visibility manipulation use Group.

Related