- 博客(4)
- 收藏
- 关注
原创 Android_RelativeLayout(相对布局)
布局属性 (以下是不据属性"注意 不是控件属性")如下: int ABOVE: 将 该控件 的 底部 放置于只定 ID 之上 android:layout_above="@id/xxx" int BELOW:将 该控件 的 顶部 放置于只定 ID 之下 android:layout_below="@id/xxx" int LEFT_OF:将 该控件 的 右边缘 放
2011-11-03 11:47:32 288
原创 Android--LinearLayout(线性布局)
//格式UTF-8 因为很好的兼容中文 http://schemas.android.com/apk/res/android"//XML 命名空间 android:orientation="vertical" //控制线性布局 orinentation (方向) “Vertical”(垂直) “horizontal”(水平) android:layout_width="
2011-11-03 11:47:17 300
翻译 Android---tableLayout(表单布局)
http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="1" > <TextView android:tex
2011-11-03 11:46:54 406
原创 Android—第一张(Activity+生命周期)
当启动一个Activity,Android系统就会一次调用 1.Create() (Killable NO) //当Activity第一次被创建的时候会调用此方法. //用法,一般都会在onCreate的方法里写,调用配置文件,绑定监听器,获得布局属性等等; 2 onStart()(Killable NO) //当这个Activity被用户看到时,Android系统会调用on
2011-11-03 11:46:35 347
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人