The icon sizes for List
, ChoiceGroup
and Alert
in
different device resolutions are listed in the following table. These are
default values and should be considered for informative purposes only as these
may differ even between devices with the same resolution.
You can get the device-specific maximum width and height for LIST_ELEMENT
, CHOICE_GROUP_ELEMENT
and ALERT
image types by using the getBestImageWidth and getBestImageHeight methods.
Device display resolution |
List icon |
ChoiceGroup icon |
Alert icon |
---|---|---|---|
176x208 |
42x29 |
16x16 |
30x40 |
208x176 |
42x29 |
16x16 |
30x40 |
QVGA (240x320 & 320x240) |
57x41 |
21x21 |
40x53 |
QVGA2 (240x320 & 320x240) |
49x35 |
18x18 |
35x46 |
352x416 |
84x58 |
32x32 |
60x80 |
416x352 |
84x58 |
32x32 |
60x80 |
Series 40 devices include the following screen sizes:
Device display resolution |
List icon |
ChoiceGroup icon |
Alert icon |
---|---|---|---|
128x128 |
16x16 |
12x12 |
21x36 |
128x160 |
16x16 |
12x12 |
21x36 |
208x208 |
26x26 |
22x22 |
40x50 |
240x320 |
28x28 |
22x22 |
58x76 |
In S60 devices the screen layouts used with List
s
are determined by the following parameters:
Whether there is a selection graphic (EXCLUSIVE
, MULTIPLE
)
or not (IMPLICIT
);
Whether the text needs one or two lines (List.TEXT_WRAP_OFF
/ List.TEXT_WRAP_ON
).
Depending on these three parameters, List
items
might use a smaller or larger space. If a smaller space is required, the LIST_ELEMENT
icon
is replaced by the corresponding CHOICE_GROUP_ELEMENT
icon.