码迷,mamicode.com
首页 > 移动开发 > 详细

Android XML

时间:2014-07-24 12:11:05      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:android   java   width   re   c   html   ar   htm   

android:id="@+id/button1" add button1`s id to R.java

In common the xml is mark language like html.
the configure info is in first mark label

<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1" />
and end with "/>" or with end label "</Button>"

there are some mark:
id: id
layout_width="warp_content" or "match_parent"
every label has it`s attributes ,we can set these
attributes in first label.

Android XML,布布扣,bubuko.com

Android XML

标签:android   java   width   re   c   html   ar   htm   

原文地址:http://www.cnblogs.com/oaks/p/3865152.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!