android - Selector drawable in RadioGroup -


i have customized radiogroup work "tab holder". each "tab" radiobutton.

i have set android:button=@nullbecause using text , have set selector background.

when radiobutton checked or unchecked selector works properly, however, when try add pressed state doesn't work.

it seems recognizes checked or unchecked states. ideas? thank in advance.

try using state_selected in xml selector , change radiobutton selected state code.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -