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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -