Open top menu


EXAMPLE- Difference Between ToggleButton and SwitchButton in android?


In this blog explain what type of difference ToggleButton and Switch Button...

Toggle Button

 You can add Toggle button in your  Layout with the help of object.The Toggle Button are Available 
Android API Level 14.the Toggle Button used two State ON and OFF.

if you need Change button state via this method.

setChecked();




Read More...


Switch Button

The switch button work as same Toggle Button But Switch Button available Android API level 1 and show state clear ON and OFF. Means the user interface/Desgin is very simple and basic ,you can Drag thumb back and forward. 





Read More......

0 comments