Android: Where to find the RadioButton Drawable?
Posted
by Peterdk
on Stack Overflow
See other posts from Stack Overflow
or by Peterdk
Published on 2010-05-04T17:45:37Z
Indexed on
2010/05/04
18:18 UTC
Read the original article
Hit count: 336
Ok, I am trying to create a custom view called CheckedRelativeLayout
.
It's purpose is the same as a CheckedTextView
, to be able to use it in a list of items you want selected or in a Spinner
.
It's all working fine now, I extended RelativeLayout
and implemented Checkable
interface.
However, I am stuck on a quite simple problem: Where can I find the Drawable
that CheckedTextView
and RadioButton
use?
I looked at the sourcecode of both, and they seem to use com.android.internal.R
. Well... that's internal stuff. So I can't access it.
Any way to get these Drawables or solve the problem somehow?
© Stack Overflow or respective owner