In my app I have a header bar which consists of a single textview with fill_parent as width, which have a specific background color and some centered text. Now I want to add a d
the best way is to use ConstraintLayout, to make the textview at the center of the layout and the width warp_content(don't use 0dp now)
so that the drawable will follow the text.