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

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -