Try to add setWillNotDraw(false) to init{}
# android
a
Try to add setWillNotDraw(false) to init{}