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.