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

java - Incorrect order of records in M-M relationship in hibernate -

ruby - Net::HTTP extremely slow responses for HTTPS requests -

c++ - Boost Spirit Parser with a vector of three strings compiling into a struct, adapt not working -