1.1.3 Getting started_budding Your First app_building a simple User Interface

Source: Internet
Author: User

The graphical user interface for an Android app was built using a hierarchy of View and ViewGroup objects. View Objects is U Sually UI widgets such as buttons or text fields and ViewGroup objects is invisible view containers that define what the child Views is laid out, such as in a grid or a vertical list.

Android provides an XML vocabulary this corresponds to the subclasses of and so you View ViewGroup can define your UI in XML Using a hierarchy of UI elements.

The Android user interface is created using the hierarchy of View and ViewGroup. View is the usual UI widgets (gadget), such as the Buttons,text Fields,viewgroup is an invisible view container that defines the layout of the included view, such as a grid or vertical list.

Android provides an XML syntax that corresponds to View and viewgroup, so you can use hierarchical UI elements in XML to define your UI

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.