性能分析的主要方式监视:监视是一种用来查看应用程序运行时行为的一般方法。通常会有多个视图(View)分别实时地显示 CPU
使用情况、内存使用情况、线程状态以及其他一些有用的信息,以便用户能很快地发现问题的关键所在。转储:性能分析工具从内存中获得当前状态数据并存储到文件用于静态的性能分析。Java
...
分类:
移动开发 时间:
2014-05-27 00:37:30
阅读次数:
307
习惯了直接在xml里设置margin(距离上下左右都是10dip),如:只是有些情况下,需要在java代码里来写。API中,android.view.ViewGroup.MarginLayoutParams有个方法setMargins(left,
top, right, bottom)。可是View...
分类:
移动开发 时间:
2014-05-26 23:51:05
阅读次数:
543
toolBar上的View SwitcherBIDAppDelegate.h#import
@class BIDSwitchViewController;@interface BIDAppDelegate : UIResponder @property
(strong, nonatomic) UIW...
分类:
移动开发 时间:
2014-05-26 22:58:05
阅读次数:
383
代码1[cpp]view
plaincopy#include#includeclassA{public:A(){printf("A()/n");}~A(){printf("~A()/n");}A(constA&other){printf("other/n");}};intmain(){Aa;Ab(....
分类:
其他好文 时间:
2014-05-26 22:18:50
阅读次数:
382
41.android-swipelistviewSwipeListView是一个Android
List View实现,实现了自定义ListView单元格,可通过滑动来显示扩展面板。开发者可直接登陆Google
Play下载安装其Demo应用。42.greenDAOgreenDAO是一个可以帮助An...
分类:
其他好文 时间:
2014-05-26 22:00:33
阅读次数:
379
关于Android的一些组件首先是View,翻译过来就是视野、视图,也就是看到的东西。它可以是按钮、文字、容器或其他的东西。Activity,翻译过来就是活动。在这里是用户界面的概念,界面是活动的,可以进行一系列的操作。Fragment,翻译过来是小块、片段。Fragment相当于是Activity...
分类:
移动开发 时间:
2014-05-26 21:27:45
阅读次数:
262
介绍一个多选list
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th...
分类:
其他好文 时间:
2014-05-23 00:52:57
阅读次数:
455
android:layout_column="1" 控制Table View在第几列:
android...
分类:
其他好文 时间:
2014-05-22 22:43:49
阅读次数:
361
概述VMwareHorizonView5.3.1是全面支持VMwareVirtualSAN功能的维护版本。在ViewAdministrator中创建池时,现在您可以选择VirtualSAN数据存储来存储桌面虚拟机。此功能需要使用vSphere5.5Update1或更高版本。相对于HorizonView5.3,VirtualSAN支持是HorizonView5.3.1中的唯一新..
分类:
其他好文 时间:
2014-05-22 18:07:20
阅读次数:
390
上一篇文章主要讲述了Android的TouchEvent的分发过程,其中有两个重要的函数:onInterceptTouchEvent和onTouchEvent,这两个函数可被重装以完成特定的逻辑。onInterceptTouchEvent的定义为于ViewGroup中,默认返回值为false,表示不拦截TouchEvent。onTouchEvent的定义位于View中,当ViewGroup要调用o...
分类:
移动开发 时间:
2014-05-22 17:12:56
阅读次数:
413