Android spinner background and default text -



Android spinner background and default text -

i want add together spinner android application looks 1 in image.

i don't want selector appear , want default text appear on left. thinking can set background image contain text, i'm afraid won't centered alternative choose.

i've created functionality design have big problems.

i create own data-adapter spinner creating new class implements spinneradapter-interface (an illustration can found here).

in own adapter, can modify displayed text (for illustration in getview-method) , create print out "option name", too.

android android-layout

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -