Material-components-android: [Chip Group] Doesn't support rtl direction

Created on 11 Jul 2019  路  3Comments  路  Source: material-components/material-components-android

How we can fill chipgroup from right

image

feature request

Most helpful comment

a tricky way is set android:scaleX = "-1" for both chipgroup and chip items
and the other way is using chip with flexbox
https://stackoverflow.com/a/51886002/3675925

All 3 comments

ChipGroup starts align its children, so when the layout direction is RTL, the children are right aligned.
It sounds like you are making a feature request to expand ChipGroup to support specifying a layout direction?

yes, i want to set attribute for change direction of chips to right

a tricky way is set android:scaleX = "-1" for both chipgroup and chip items
and the other way is using chip with flexbox
https://stackoverflow.com/a/51886002/3675925

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gabrielemariotti picture gabrielemariotti  路  3Comments

gabrielemariotti picture gabrielemariotti  路  3Comments

Mirmuhsin picture Mirmuhsin  路  3Comments

TdevM picture TdevM  路  3Comments

zkovar picture zkovar  路  3Comments