28 Jan 2015

Display Image/icon with radio button in Android


Here is how to display icons on RadioButton on Android :- 


Radio Button Sample

Here you shall see 4 locations where you can put the icons :-
  •  Top
  •  Right
  •  Bottom 
  •  Left. 
The names are :-

  • android:drawableTop
  • android:drawableRight
  • android:drawableBottom 
  • android:drawableLeft.

Hope it helps.

No comments:

Post a Comment