Android开发前的准备.pptVIP

  • 1
  • 0
  • 约1.18万字
  • 约 29页
  • 2019-08-10 发布于广东
  • 举报
Android开发前的准备 HelloWorld布局文件 界面布局:main.xml ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=/apk/res/android android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello/ /LinearLayout !-- 线性布局 -- ?xml version=1.0 encoding=utf-8?这是xml的标记语言,只是声明xml的版本和编码方式。xmlns:android这是一个XML命名空间,告诉Android开发工具你准备使用Android命名空间里的一些通用属性。 LinearLayout (线性布局)、AbsoluteLayout(绝对布局)、RelativeLayout(相对布局)、TableLayout(表格布

文档评论(0)

1亿VIP精品文档

相关文档