码迷,mamicode.com
首页 >  
搜索关键字:ui优化    ( 37个结果
Android优化——UI优化(四)
使用style替换背景,防止Activity黑色背景闪过1.原来的布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_...
分类:移动开发   时间:2015-04-17 22:25:19    阅读次数:210
Android优化——UI优化(三)
1.ViewStub延迟加载 ViewStub是一个不可见的,大小为0的View,最佳用途就是实现View的延迟加载,在需要的时候再加载View,可Java中常见的性能优化方法延迟加载一样。 当调用ViewStub的setVisibility函数设置为可见或则调用inflate初始化该View的时候,ViewStub引用的资源开始初始化,然后引用的资源替代ViewStub自己的位置填充在V...
分类:移动开发   时间:2015-04-17 15:47:16    阅读次数:163
Android优化——UI优化(一)
优化布局层次1.避免布局镶嵌过深(如下)<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_paren...
分类:移动开发   时间:2015-04-17 14:04:35    阅读次数:183
Android优化——UI优化(二)
使用include标签复用布局- 1.include标签的作用 假如说我下图的这个布局在很多界面都用到了,我该怎么办?每个页面都写一遍的话,代码太冗余,并且维护难度加大。 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas....
分类:移动开发   时间:2015-04-17 13:55:44    阅读次数:170
Android 高级UI
在Android官网中有对UI 优化的文档,开发者有必要对它进行掌握。...
分类:移动开发   时间:2014-09-23 21:01:28    阅读次数:214
Android 布局优化工具Hierarchy Viewer的使用
网上已经有很多关于Hierarchy Viewer如何使用的文章,这里就不一步步的演示具体怎样使用了,ddna兄的《【Android工具】被忽略的UI检视利器:Hierarchy Viewer》与张兴业的《Android UI 优化——使用HierarchyViewer工具》都写的很棒。     Hierarchy Viewer有两个用途,一个是用于分析当前页面视图层级,再者也能分析...
分类:移动开发   时间:2014-07-08 14:09:13    阅读次数:266
光学软件 Apollo Photonic Solutions Suite 2.2
光学软件 Apollo Photonic Solutions Suite 2.2 计算机辅助设计(CAD)系统,光子学设计软件,可用于光材料、器件、波导和光路等的设计。下一代光学设备及电路辅助设计软件.联 系 Q. Q:16264558 电 话:13963782271Apollo Photo...
分类:其他好文   时间:2014-05-01 15:54:29    阅读次数:388
37条   上一页 1 2 3 4
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!