码迷,mamicode.com
首页 >  
搜索关键字:com    ( 319076个结果
android之线性布局LinearLayout以及weight权重使用
LinearLayout(线性布局)::layout/activity_main.xml<LinearLayoutxmlns: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:orient..
分类:移动开发   时间:2014-12-07 06:52:50    阅读次数:315
android之网格布局GridLayout
TableLayout(网格布局)需要注意的:网格布局需要最低版本支持:API14也就是最低andriod4.0:layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width="match_parent"android:layout_height="match_parent"..
分类:移动开发   时间:2014-12-07 06:52:43    阅读次数:263
andorid之帧布局FrameLayout
FrameLayout(帧布局):layout/activity_main.xml<FrameLayoutxmlns: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"><ImageViewand..
分类:其他好文   时间:2014-12-07 06:52:32    阅读次数:212
android之实现ProgressBar进度条组件
android之实现ProgressBar进度条组件:(注意:横向那个进度条要android4.0以上版本支持,也就是最低(android:minSdkVersion="14")支持)布局:layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://sch..
分类:移动开发   时间:2014-12-07 06:52:01    阅读次数:217
android之实现各个组件点击事件处理
android之实现各个组件点击事件处理:注意:(TextView这个组件要点击产生效果的话,要设置,android:clickable="true"这个属性)布局:layout/activity_main.xml<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.andr..
分类:移动开发   时间:2014-12-07 06:52:01    阅读次数:223
android之bundle传递数据--两个activities之间
登陆页面布局:layout/activity_login.xml<LinearLayoutxmlns: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:orientation="vertic..
分类:移动开发   时间:2014-12-07 06:51:32    阅读次数:277
android之实现SeekBar拖动组件
android之实现SeekBar拖动组件:布局:layout/activity_main.xml<LinearLayoutxmlns: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"androi..
分类:移动开发   时间:2014-12-07 06:51:18    阅读次数:163
android之无返回结果跳转intent
android之无返回结果跳转intent:(注意跳转的时候要传像user的对象必须实现Serializable接口)登陆页面布局:layout/activity_login.xml:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:..
分类:移动开发   时间:2014-12-07 06:49:57    阅读次数:225
android之实现各个组件点击事件监听
布局:layout/activity_main.xml<LinearLayoutxmlns: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:orientation="vertical">&l..
分类:移动开发   时间:2014-12-07 06:49:50    阅读次数:183
android之activities的生命周期
生命周期图片:测试主页面布局::layout/activity_main.xml<RelativeLayoutxmlns: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:p..
分类:移动开发   时间:2014-12-07 06:49:36    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!