material-components-android icon indicating copy to clipboard operation
material-components-android copied to clipboard

[MaterialSwitch] Icon only on selected switch

Open pubiqq opened this issue 3 years ago • 3 comments
trafficstars

At the moment, I see how to implement configuration #1 and #3. But how is configuration #2 supposed to be implemented?

unnamed

pubiqq avatar Sep 09 '22 10:09 pubiqq

Will using a StateListDrawable that draws nothing when unchecked serve your need?

drchen avatar Sep 12 '22 19:09 drchen

No, because of the thumb size:

pubiqq avatar Sep 12 '22 20:09 pubiqq

Ah. : (

drchen avatar Sep 12 '22 20:09 drchen