mobile - J2ME (Java ME): StringItem Alignment -


in simple words, possible center stringitem or fit width of screen? know may need provide no example code, instance:

stringitem addbutton = new stringitem("", "add new", item.button); 

how apply on button example?

addbutton.setlayout(stringitem.layout_center);

btw name "addbutton" should rather lowercase


Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -