ConstraintLayout: how to have a view be half the screen width and centered?

后端 未结 5 1201
半阙折子戏
半阙折子戏 2020-12-16 09:49

TL;DR
The view width must be exactly half of the screen, and be centered. Using ConstraintLayout.

Note that the view does not have

5条回答
提交回复
热议问题