Code example for CheckedTextView

Methods: setCheckMarkDrawable

0
	 //µã»÷״̬ºó±ä¸üÏà·´£¬¼´ÏÂÈý½Çת»¯ÎªÉÏÈý½Ç·ûºÅ 
	  checkedTextView3.setOnClickListener(new View.OnClickListener() {
	                   @Override 
	                   public void onClick(View v) {
	                            // TODO Auto-generated method stub   
	                            checkedTextView3.setCheckMarkDrawable(android.R.drawable.arrow_up_float);
	                   } 
	}); 
	 //µã»÷״̬ºó±ä¸üÏà·´£¬ÈçÑ¡ÖбäΪδѡÖУ¬Î´Ñ¡ÖеıäΪѡÖР
	 checkedTextView4.setOnClickListener(new View.OnClickListener() {                  
	                   @Override 
	                   public void onClick(View v) {
	                            // TODO Auto-generated method stub 
	                             checkedTextView4.toggle();
	                   } 
	         });        
	        //ÉèÖÃlistViewµÄģʽΪCHOICE_MODE_SINGLE 
	        listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE);
			 
		}