2

I want to set the theme of the spinner widget to Holo.Light, without using xml. Say in xml layout, you would write :

style="@android:style/Widget.Holo.Spinner" 

How can I do it programatically?

MiguelHincapieC
  • 5,445
  • 7
  • 41
  • 72
sumeet batheja
  • 329
  • 1
  • 2
  • 13
  • possible duplicate of [Android: set view style programatically](http://stackoverflow.com/questions/11723881/android-set-view-style-programatically) – ByteWelder Sep 18 '15 at 20:06
  • or a duplicate from [why-so-complex-to-set-style-from-code-in-android](http://stackoverflow.com/questions/8369504/why-so-complex-to-set-style-from-code-in-android) – Dogosh Sep 18 '15 at 20:51

0 Answers0