Code example for CheckedTextView

Methods: setCheckMarkDrawable

0
                    case ListView.CHOICE_MODE_SINGLE:
                        mCheckedTextView.setCheckMarkDrawable(mRadioDrawable);
                        break; 
 
                    default: 
                        mCheckedTextView.setCheckMarkDrawable(null);
                        break; 
                } 
            } 
        } 
    } 
 
 
    /* 
     * (non-Javadoc) 
     * @see android.view.View#onFinishInflate() 
     */ 
    @Override 
    protected void onFinishInflate() { 
        super.onFinishInflate(); 
        mCheckedTextView = (CheckedTextView) findViewById(android.R.id.text1);