and according to the XML layout, you need width = ...
# anko
a
and according to the XML layout, you need width = dip(300), not height