SegmentedButton icon indicating copy to clipboard operation
SegmentedButton copied to clipboard

app:sbg_backgroundColor transparent as the background,

Open joShinichi opened this issue 9 years ago • 2 comments

i use your library and that's was awesome...

when I was setting app:sbg_backgroundColor becomes transparent as the background, and when I run the application, the button on the left being the same as the color of the app: sbg_selectorColor

please fix it :)

joShinichi avatar Nov 26 '16 17:11 joShinichi

Firstly thank you. As for your question, sorry but it is not possible. There are actually three layers in SegmentedButton. Two of them is for actual background and one is for selector. If those two's backgrounds are made transparent, selector's color becomes the only visible one and makes the whole group to its color. I should have added this info in 'readme' file, sorry for that. I will add it right away.

ceryle avatar Nov 28 '16 08:11 ceryle

thanks for fast response :)

joShinichi avatar Nov 29 '16 03:11 joShinichi