Public Sub SubtotalData() AppSettings 'On Error GoTo ErrHandler Dim StartTime, UsedTime As Variant StartTime = VBA.Timer 'Input code here Dim Wb As Wo... ...
分类:
编程语言 时间:
2017-07-07 00:51:46
阅读次数:
276
Public Sub GatherFilesData() Application.ScreenUpdating = False Application.DisplayAlerts = False Application.Calculation = xlCalculationManual Applic... ...
分类:
编程语言 时间:
2017-07-06 01:06:54
阅读次数:
340
今天。特别郁闷。自己定义了一个UIScrollView,然后在它里面加入控件,如UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(0,0,100,100)]; 按理来说,这个button应该在scrollView的顶部。可是却 ...
分类:
其他好文 时间:
2017-06-24 10:02:05
阅读次数:
166
从Android 6.0开始,位于frameworks/bases/packages/Keyguard的Keyguard开始被编译为一个jar包,被SystemUI静态导入,相当于SystemUI的一个界面。 Keyguard分为两个界面,不用输入密码的一级锁屏界面(SystemUI认为是Phone ...
分类:
其他好文 时间:
2017-06-20 13:48:36
阅读次数:
161
frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarWindowManager.java 锁屏时能否旋转的开关:mKeyguardScreenRotation .当设置为true时,重 ...
分类:
移动开发 时间:
2017-06-17 15:05:20
阅读次数:
250
android4 SystemUI 流程分析 什么是SystemUI? 对于Phone来说SystemUI指的是:StatusBar(状态栏)、NavigationBar(导航栏)。而对于Tablet或者是TV来说SystemUI指的是:CombinedBar(包括了StatusBar和Naviga ...
分类:
移动开发 时间:
2017-05-18 01:33:22
阅读次数:
414
运行效果如下: 注意:Grid的列宽与行高可采用固定、自动、按比列三种方式定义 。 UniformGrid UniformGrid 就是Grid的简化版,每个单元格的大小相同,不需要定义行列集合。 每个单元格始终具有相同的大小,每个单元格只能容纳一个控件,将自动按照定义在其内部的元素个数,自动创建行 ...
1. System Bar简单介绍 在Android4.0 (API Level 14)及更高版本号中。System Bar由Status Bar<位于顶部>和Navigation Bar<位于底部>组成。 在Android的官方站点已经具体解说了怎样Hdie Status Bar和Navigati ...
分类:
移动开发 时间:
2017-05-16 15:05:19
阅读次数:
343
CGRect rect = [[UIApplication sharedApplication] statusBarFrame]; 状态栏的高度: float status height = rect.size.height; 导航栏的高度: float navigationheight = sel ...
分类:
移动开发 时间:
2017-05-14 12:29:33
阅读次数:
242