Wiki / Editor manual
Create a Canvas interface
Add screen-space widgets, anchor them to the LCD, and lay them out for phone screens.
Add and position widgets
Switch to Canvas and choose + UI to create a Panel, Group, Text, Button, Input field, Sprite, or Progress Bar. The Canvas draws over the 3D view. In the Inspector, use Rect Transform anchors, pivot, and offsets to position a widget relative to the screen or its parent. Anchors help the layout adapt to different LCD dimensions.
Use horizontal or vertical layout groups to arrange children. Each child can have minimum, preferred, and flexible sizes; flexible space takes up the remaining group space. Check the layout at 240×320 and 176×208, the two reference phone sizes.
Stretch images cleanly
Canvas images support horizontal or vertical 3-slice regions and 9-slice panels. Set borders around the corners or end caps you need to preserve; Studio stretches the center. If a panel is narrower than its left and right borders combined, the borders shrink proportionally and the center becomes zero width. Avoid changing sliced widget sizes every frame so the runtime can reuse its cached images.
Buttons can be navigated by keypad in the MIDlet. Give them a clear focused state and verify focus, activation, and artwork with Test MIDlet.