Android Wireless test-uiautomator Uiselector API Introduction II

Source: Internet
Author: User

Introduction to Android Layout and component and component properties

First, the layout:

1) Linear layout: Control price is arranged in linear direction

2) Table layout: Standard rows and columns as tables

3) Relative layout: Make the control appear anywhere in the layout by means of relative positioning

4) Frame layout: Subclasses appear in the upper-left corner of the layout

5) Grid layout: Similar to the table layout, but more flexible than the table layout, you can easily adjust the partition module

6) Absolute layout: use absolute coordinates to stack components

Second, commonly used components:

Three, often Android component properties introduction

Property value Value type Example
Index Int 0
Instance Int 5
Class String Android.widget.TextView
Package String Com.jike.test
Content-desc String Contact
Checkable Boolean False
Checked Boolean False
Clickable Boolean True
Enable Boolean False
Focusable Boolean False
Focused Boolean False
Scrollable Boolean False
Long-clickable Boolean False
Password Boolean False
Selected Boolean False
Bounds Rect [366,999] [708,1197]

Android Wireless test-uiautomator Uiselector API introduction of the two

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.