Example how to do material design style chips as Spans inside TextView/EditTextView The scaling works well even with little space available or in landscape.
Works with layout_width:match_parent
in portrait mode:
Works with limited width in portrait mode:
Biggest screen tested: Google Pixel C Smallest screen tested: Google Nexus 4