Monday, April 29, 2013

[android-developers] Spinner borders

Hi,
 
I need to create a small spinner in height.
 
So I created a spinner with 58pixels height, but it has big borders on top and bottom, so it cuts most of the text.
It has a top border of 25 pixels and a bottom border of 19 pixels.
So from the total 58 pixels, only 14 are used to show the text.
 
How can I change this? How can I decrease the top and bottom borders or increase the text area?
I have tryed to change the background drawable with 9 patch png, but it does not affect the area used for the text.
I need to do it programatically.
 
 
Thanks
Filipe Madureira

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate