TL;DR The view width must be exactly half of the screen, and be centered. Using ConstraintLayout.
ConstraintLayout
Note that the view does not have
try this vertically divide