I have been trying to make radio buttons without the dot which toggles. I have been successful by doing this:
myRadioButton.setButtonDrawable(android.R.id.empty);
this works fine in all devices before Honeycomb 3.0.x. When I try and use the "empty" resource on the Xoom i get an error:
ERROR/AndroidRuntime(xxxxx): Caused by: android.content.res.Resources$NotFoundException: File from drawable resource ID #0x1020004
so, I was wondering if there was a reason why the empty resource suddenly doesn't work on the Xoom. Any help would be appreciated. If you want to take a look at the radioButton related post it can be found here
Thanks!
You are trying to use an id as a drawable. You need to use android.R.color.transparent instead.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With