Android
做好自己1
这个作者很懒,什么都没留下…
展开
-
1:LinearLayout
直接上代码:xml version="1.0" encoding="utf-8"?>LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://sc原创 2017-11-27 17:25:08 · 498 阅读 · 0 评论 -
Hello Android
第一步新建工程,File->new->new project填好后点击Next, 然后选择最小支持到的版本,我这里选择的是4.3然后点击next, 选择点击next,已经建好一个工程点击看到已经起来了,但是显示了Hello world然后在工程里app->res->layout下我们看到有一个文件是activity_hello_andri原创 2017-11-22 10:44:05 · 221 阅读 · 0 评论 -
2:RelativeLayout
xml version="1.0" encoding="utf-8"?>RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.a原创 2017-12-04 17:25:46 · 256 阅读 · 0 评论 -
3:TableLayout
xml version="1.0" encoding="utf-8"?>TableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.andr原创 2017-12-05 14:03:59 · 215 阅读 · 0 评论 -
Andriod布局
安卓页面搭建:安卓页面与iOS页面不同,安卓的页面是由View和View Group构成,View Group是布局容器,里边可以继续放View Group,也可以放View。 View是一个一个的控件。(这个我还不知道具体使用是怎么样的,只能以后深入理解后再回来更新了)先介绍下安卓布局,安卓有六种布局:1:LinearLayout (线性布局)2:RelativeLa原创 2017-11-27 15:47:02 · 241 阅读 · 0 评论