Android - HelloWorld的Layout内容

本文地址: http://blog.csdn.net/caroline_wendy

作为最基础的Android程序, HelloWorld的XML文件能够作为測试使用.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MyActivity"> <TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content" /> </RelativeLayout>

最新文章

  1. jquery easyui菜单树显示
  2. IOS XIB Cell自适应高度实现
  3. Redis学习笔记~常用命令总结
  4. $watch方法
  5. memcached 缓存服务器
  6. 杨辉三角 &amp;&amp; 鸽兔同校
  7. sqlalchemy - day4
  8. 同时安装vs2010和VS2012后IEnumerable&lt;ModelClientValidationRule&gt;编译错误
  9. SQLite入门与分析(六)---再谈SQLite的锁
  10. 一步一步建MVC
  11. 熟练掌握HDFS的Java API接口访问
  12. 转:MFC 的程序中GetAt()的理解
  13. CI分支kohana在线文档
  14. asp.net JSON(一)
  15. 在Salesforce成长:需要好奇心
  16. [翻译]:MySQL Error: Too many connections
  17. docker学习-常用命令2
  18. liunx 运维知识一部分
  19. JDBC-Transaction
  20. Linux &quot;bring up eth0 failed, eth0 seems not be presernt&quot; 问题解决方案

热门文章

  1. 最大似然 vs. 最小二乘
  2. spark算子介绍
  3. 每日技术总结:flex,选项卡,classList,
  4. windows SID
  5. zynq+linux+ramdisk can调试
  6. [Nuxt] Add Arrays of Data to the Vuex Store and Display Them in Vue.js Templates
  7. 6 、字符编码笔记:ASCII,Unicode和UTF-8
  8. oracle数据库的备份与恢复
  9. 【读书笔记与思考】Andrew 机器学习课程笔记
  10. Android多线程研究(1)——线程基础及源码剖析