If we see a spinner it looks like a textview and with an image to the right of textview. In Motorola milestone that image is down arrow while in Samsung galaxy ace it is right arrow. I can set background image to a spinner using the following code. But I donot want to change the background image. I want to change that image. How to set that image of a spinner.
Spinner sp1 = (Spinner) findViewById(R.id.spnContactTypes1);
sp1.setBackgroundResource(R.drawable.icon);
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…