Code example for ToggleButton

Methods: getTextOn

0
		//toggle button onCheckedChanged togglebutton asfas 1afjasfasf 
		 
>>>>>>> b8901b040be775367e1a08922c76d309f4924dc7 
		// TODO Auto-generated method stub 
		Toast.makeText(this,
				isChecked ? toggleButton1.getTextOn() : toggleButton1.getTextOff(),
				Toast.LENGTH_SHORT).show();
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java