Profiling GPU Rendering Walkthrough 1.In this document Prerequisites Profile GPU Rendering $adb shell dumpsys gfxinfo You should also read Debug GPU Overdraw Walkthrough Hierarchy Viewer Walkthrough This walkthrough shows how to use Profile GPU Rende
在Android平台下,进行多线程编程时,经常需要在主线程之外的一个单独的线程中进行某些处理,然后更新用户界面显示.但是,在主线线程之外的线程中直接更新页面显示的问题是 报异常:android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. [只有原始创建这个视图层次(view hierachy)的线程
2015-07-28 17:29:19 这一篇主要看看布局过程 一.布局过程肯定要不可避免的涉及到layout()和onLayout()方法,这两个方法都是定义在View.java中,源码如下: /** * Assign a size and position to a view and all of its * descendants * * <p>This is the second phase of the layout mechanism. * (The first is measur