码迷,mamicode.com
首页 >  
搜索关键字:relativelayout    ( 982个结果
Android实战简易教程-第十五枪(实现ListView中Button点击事件监听)
1.main.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_hei...
分类:移动开发   时间:2015-06-12 17:33:50    阅读次数:146
Android实战简易教程-第十四枪(介绍SwipeMenuListView-简单实现类似QQ的滑动删除效果)
1.实现布局文件main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layo...
分类:移动开发   时间:2015-06-12 11:54:24    阅读次数:221
【转】Android布局属性详解
RelativeLayout用到的一些重要的属性:第一类:属性值为true或falseandroid:layout_centerHrizontal 水平居中android:layout_centerVertical 垂直居中android:layout_centerInparent 相对于父元素完全...
分类:移动开发   时间:2015-06-11 19:07:02    阅读次数:155
模仿猫眼电影App一个动画效果
看真正的猫眼效果图 接下来看自己写的粗略图(不足的地方是这里是2个切换选项,如果需要3个切换的话,需要自定义控件,后续在更新。。。) 源码地址 http://download.csdn.net/download/u013210620/8795799 先看主页面xml布局文件--so easy activity_main.xml <RelativeLayout xm...
分类:移动开发   时间:2015-06-11 17:11:55    阅读次数:198
android布局属性详解
RelativeLayout用到的一些重要的属性: 第一类:属性值为true或false android:layout_centerHrizontal 水平居中android:layout_centerVertical 垂直居中 android:layout_centerInparent 相对于父元...
分类:移动开发   时间:2015-06-11 16:07:52    阅读次数:115
[android]完美解决ListView加载网络图片乱跳问题
布局文件:只有一个ListView <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:lay...
分类:移动开发   时间:2015-06-10 22:41:22    阅读次数:661
实现页面切换(动画效果实现,不用ViewPager)
源码地址 http://write.blog.csdn.net/postedit/46439929 先看主页面布局activity_main <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" and...
分类:其他好文   时间:2015-06-10 12:19:15    阅读次数:107
kivy学习之路--坐标系和坐标转换函数
参考kivy文档796页,kivy大多数控件默认使用绝对坐标系,即window坐标系,原点位于屏幕window左下角,所有控件的坐标都是相对屏幕左下角的绝对坐标。 RelativeLayout使用的是相对坐标系,即relative 坐标系,如果控件树中存在RelativeLayout,那么...
分类:其他好文   时间:2015-06-09 23:25:25    阅读次数:151
android动态添加控件
用LayoutParams:可以设定控件的一些属性RelativeLayout insertLayout = (RelativeLayout)view1.findViewById(R.id.lay);//lay是一个RelativeLayout 布局的idImageView img = new Im...
分类:移动开发   时间:2015-06-09 21:23:56    阅读次数:214
类似微信的ChattingUi
先看主页面布局 activity_imitate_weixin_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_...
分类:微信   时间:2015-06-09 20:06:52    阅读次数:364
982条   上一页 1 ... 57 58 59 60 61 ... 99 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!