码迷,mamicode.com
首页 >  
搜索关键字:viewgroup    ( 1060个结果
【自定义控件】自定义ViewGroup 在ViewGroup中显示TextView
ViewGroup学习 demo:在ViewGroup中显示一个TextView demo:在ViewGroup中显示两个TextView 并且按照某种效果进行布局
分类:其他好文   时间:2016-11-10 21:32:12    阅读次数:288
android 安卓 listview 支持下拉刷新 上拉加载更多
【1】重写listViewimportjava.text.SimpleDateFormat; importjava.util.Date; importandroid.content.Context; importandroid.util.AttributeSet; importandroid.util.Log; importandroid.view.MotionEvent; importandroid.view.View; importandroid.view.ViewGroup; importand..
分类:移动开发   时间:2016-11-09 23:33:55    阅读次数:316
图片三级缓存
http://blog.csdn.net/singwhatiwanna/article/details/17566439 ...
分类:其他好文   时间:2016-10-27 07:56:06    阅读次数:342
Android动画
Android当中的四种Animation动画: 1.Tween Animation 变换动画 2.Frame Animation 帧动画 3.Layout Animation 布局动画 4.Property Animation 属性动画 实现原理:每次绘制视图时view所在的viewGroup函数 ...
分类:移动开发   时间:2016-10-26 00:10:50    阅读次数:240
自定义控件1.官方文档翻译
Android offers a sophisticated and powerful componentized model for building your UI, based on the fundamental layout classes: View and ViewGroup. To ... ...
分类:其他好文   时间:2016-10-02 13:00:37    阅读次数:211
android 事件处理概念簇
1)事件传递函数 2)事件相关: 事件、事件源、事件监听器。MotionEvent 3)坐标系、定位、路由; 4)Window activity view viewGroup ...
分类:移动开发   时间:2016-09-28 01:47:35    阅读次数:200
关于ViewGroup中onInterceptTouchEvent方法,在各个版本中的执行不同的猜测
在低版本的模拟器上,当ViewGroup的onInterceptTouchEvent方法返回false时,当再有touch事件传递给ViewGroup,会一直执行此方法。 在高版本的模拟器上,当ViewGroup的onInterceptTouchEvent方法返回false时,当再有touch事件传 ...
分类:其他好文   时间:2016-09-27 23:06:17    阅读次数:176
Android开发:ListView、AdapterView、RecyclerView全面解析
目录AdapterView简介AdapterView本身是一个抽象类,AdapterView及其子类的继承关系如下图: 特征: AdapterView继承自ViewGroup,本质是个容器 Adap...
分类:移动开发   时间:2016-09-27 15:16:28    阅读次数:324
转载---ViewPager,PagerAdapter,FragmentPagerAdapter和FragmentStatePagerAdapter的分析对比
转载:http://blog.csdn.net/dreamzml/article/details/9951577 ViewPager ViewPager 如其名所述,是负责翻页的一个 View。准确说是一个 ViewGroup,包含多个 View 页,在手指横向滑动屏幕时,其负责对 View 进行切 ...
分类:其他好文   时间:2016-09-26 16:02:07    阅读次数:256
android:布局、绘制、内存泄露、响应速度、listview和bitmap、线程优化以及一些优化的建议!
1.布局优化 首先删除布局中无用的控件和层级,其次有选择地使用性能较低的viewgroup,比如布局中既可以使用RelativeLayout和LinearLayout,那我们就采用LinearLayout,因为RelativeLayout的功能比较复杂,它的布局需要花费 风度哦的CPU实际。 布局优 ...
分类:移动开发   时间:2016-09-19 19:31:34    阅读次数:159
1060条   上一页 1 ... 24 25 26 27 28 ... 106 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!