A newer aspect of this program is the use of the midp2.0 and spacer classes of the newly added item class in the. The use of the appearance pattern has been introduced in the Stringitem.
Public spacer (int minwidth, int minheight), spacer class in this program is set to Item.layout_expand, that is, fill the remaining white space. In this way, after running, you can see two Imageitem objects located on both sides of the left and right, the layout of some good-looking.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.