yes you're right - thanks

I hadn't considered future proofing or customized implementations, but
it makes good sense.

mine doesn't look near as bad as the example I posted

http://test-icu.com/images/android/stretched-arrow.png

the icons I'm using are only 32x32 but I'll vamp them down so that
they don't force the stretching



On Jan 28, 12:27 pm, Kostya Vasilyev <kmans...@gmail.com> wrote:
> You *could* copy the standard spinner image, edit it in Draw9Patch to
> add stretch areas in more proper places, but I wouldn't recommend this:
> if this image is replaced by the firmware, your application will not
> match the rest of the phone's UI. To be specific, the Motorola Droid X
> does this, as does the Samsung Galaxy S family, and maybe others.
>
> I would try to fit whatever content you have on one line, using TextView
> "singleLine=true", and a smaller image, or come up with a different way
> to show the current selection (a spinner that looks so different that
> the user won't know it's a spinner?)
>
> -- Kostya
>
> 28.01.2011 21:15, kernelpanic пишет:
>
>
>
> > ok, let me clarify that I only want to affect my app. I created a
> > spinner with an image and text, and the drop down arrow gets stretched
> > in the middle - and it looks kinda like this guy's here
>
> >http://androidforbeginners.blogspot.com/2010/10/spinner-down-arrow-st...
>
> > i just want to change it (for my app) such that it stretches above and
> > below the arrow.
>
> > On Jan 28, 12:11 pm, Kostya Vasilyev<kmans...@gmail.com>  wrote:
> >> You can copy the platform defaults into your project, edit them as you
> >> like, and use with buttons by setting "android:background". This would
> >> affect your own application.
>
> >> As for changing an Android resource so it affects other apps - sorry, no.
>
> >> -- Kostya
>
> >> 28.01.2011 21:07, kernelpanic пишет:
>
> >>> specifically, I am trying to change the 9 patch image used for
> >>> btn_dropdown_normal.9.png
> >>> anyone know how to override the stock 9 patch images without rooting
> >>> the device or other silly ideas?
> >>> I was hoping that selection of a 9 patch image file would cascade
> >>> through from my project's drawable-mdpi to drawable to the platform
> >>> default such that if I put that image in my project's drawable or
> >>> drawable-mdpi, it would be used instead.
> >>> so far I have had no success - any ideas welcome
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to