• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to change the spiiner color

 
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to change the spiiner color.I tried to change .i am able to change text color,background color.But still unable to change the whole spinner color to one color.

this is spinner


this is code


this is xml file which use to change the text color.I can change the backgroun color,but it doesn't affect to whole spinner.It only change the text part.



this is xml which use to change the spinner srop down menu


this is working fine.BUt i need to change the whole color of a spinner to One custom color.How to do that ?
Also if i add background color as below it doesn't show the spinner drop down part clearly?

<Spinner
android:id="@+id/spnMyShift"
android:layout_width="200dp"
android:layout_height="45dp"
android:layout_gravity="center"
android:textColor="#FF0000"
android:background="#696969"
android:layout_toRightOf="@+id/myShift"
/>
 
shawn peter
Ranch Hand
Posts: 1325
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can anyone help me?
reply
    Bookmark Topic Watch Topic
  • New Topic