Changing visibility of element in constraint.Group

后端 未结 1 1099
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 07:22

I have spent an hour trying to figure out, who is changing one of my views visibility. It turned out to be constraint.Group.

Well, from the start: I have, for example,

相关标签:
1条回答
  • 2021-01-25 07:52

    Yes, definitely you will need to remove that one view from android.support.constraint.Group if you want that specific view's visibility logic to work correctly as otherwise whatever the visibility of the android.support.constraint.Group will be there; will also get applied to the visibility of that view and that's why you need to exclude it from the android.support.constraint.Group to avoid problems and thus get your desired outcome.

    0 讨论(0)
提交回复
热议问题