8. More User Interface
THE real stars of LCDUI are List
and Form
. Both classes provide practical interactive displays that are well-suited to small screens. List
is just what it sounds like, a simple presentation of text and image items that adapts well to any screen size. Form
s can hold a variety of items, everything from text input fields and images to date and time editors. The constraints of a small display mean that complex forms are awkward, but simple forms are very useful.
8.1. Lists
A List
shows as many items as it can fit on the display. An item has a text label and can also have an associated image.
Lists come in three varieties, which are represented by constants in the List
class:
EXCLUSIVE
lists allow only one selection. The items ...
Get Kicking Butt with MIDP and MSA: Creating Great Mobile Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.