Android mobile guard-layout of navigation interface 1, android guard

Source: Internet
Author: User

Android mobile guard-layout of navigation interface 1, android guard

For more information, see http://www.cnblogs.com/wuyudong/p/5943005.html.

This article implements the layout of navigation interface 1, as shown in:

First, analyze the layout style used:

The content of the activity_setup1.xml layout file is as follows:

<? Xml version = "1.0" encoding = "UTF-8"?> <LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" android: orientation = "vertical" android: layout_width = "match_parent" android: layout_height = "match_parent"> <TextView style = "@ style/TitleStyle" android: text = "1. welcome to mobile anti-theft "/> <TextView android: layout_width =" wrap_content "android: layout_height =" wrap_content "android: textColor =" #000 "android: textSize =" 18sp "android: layout_margin = "5dp "Android: text =" your mobile anti-theft guard "/> <TextView android: layout_width =" wrap_content "android: layout_height =" wrap_content "android: drawableLeft =" @ android: drawable/star_big_on "android: gravity =" center_vertical "android: textColor =" #000 "android: textSize =" 18sp "android: text = "SIM card change alert"/> <TextView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: drawableLeft = "@ android: drawable/st Ar_big_on "android: gravity =" center_vertical "android: textColor =" #000 "android: textSize =" 18sp "android: text =" GPS tracking "/> <TextView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: drawableLeft = "@ android: drawable/star_big_on" android: gravity = "center_vertical" android: textColor = "#000" android: textSize = "18sp" android: text = "remote data destruction"/> <TextView android: layout_width = "wrap_c Ontent "android: layout_height =" wrap_content "android: drawableLeft =" @ android: drawable/star_big_on "android: gravity =" center_vertical "android: textColor =" #000 "android: textSize = "18sp" android: text = "remote screen lock"/> <! -- Align the space of the internal vertex horizontally --> <LinearLayout android: gravity = "center_horizontal" android: layout_width = "match_parent" android: layout_height = "wrap_content"> <ImageView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: background = "@ android: drawable/presence_online"/> <ImageView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: background = "@ android: dra <ImageView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: background = "@ android: drawable/presence_invisible"/> <ImageView android: layout_width = "wrap_content" android: layout_height = "wrap_content" android: background = "@ android: drawable/presence_invisible"/> </LinearLayout> <RelativeLayout android: layout_width = "match_parent" android: layou T_height = "match_parent"> <ImageView android: background = "@ drawable/setup1" android: layout_centerInParent = "true" android: layout_width = "wrap_content" android: layout_height = "wrap_content"/> <! -- Image selector: In the selection or unselected process, switch to the display image --> <Button android: text = "next page" android: layout_width = "wrap_content" android: layout_height = "wrap_content"/> </RelativeLayout> </LinearLayout>

The layout in the lower right corner is not implemented yet. I will explain it separately in the next article.

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.