原文:快速构建Windows 8风格应用23-App Bar概述及使用规范本篇博文主要介绍App Bar概述、App Bar命令组织步骤、App Bar最佳实践。 App Bar概述 Windows 8 Store应用中的App Bar(应用程序工具栏)起到的作用和Windows Phone中App...
分类:
移动开发 时间:
2014-09-23 17:12:34
阅读次数:
223
原文:快速构建Windows 8风格应用24-App Bar构建本篇博文主要介绍构建AppBar基本步骤、如何构建AppBar、如何在AppBar中构建上下文命令、如何在AppBar中构建菜单、如何构建页面间共享AppBar。 构建应用栏的目的的显示导航、命令和始终隐藏不需要的使用的工具。我们可以把...
分类:
移动开发 时间:
2014-09-23 17:07:54
阅读次数:
487
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:
移动开发 时间:
2014-09-23 16:46:54
阅读次数:
224
Canvas为容器控件,用于定位。1.基本应用Canvas.Top="50"Canvas.Bottom="50"Canvas.Left="50"Canvas.Right="50" 2.当同时设置left和right,top和bottom,以left和top为准3.重叠深度设置
分类:
其他好文 时间:
2014-09-23 13:47:34
阅读次数:
149
From google: If your app uses a custom image as the background of the bar, you'll need to provide a “taller” image so that it extends up behind the st...
分类:
移动开发 时间:
2014-09-23 13:38:34
阅读次数:
147
如果android安装正确的话,但是eclipse里面的导航条就是没有AVD 可以通过「Window」?「Customize Perspective」?「Tool Bar Visibility」Tab画面上选择 Android SDK and AVD Manager来显示http://blog.si...
分类:
移动开发 时间:
2014-09-22 22:08:13
阅读次数:
315
看了一下菜单果然是醉了。。头都要大了 ,这么难记。。sad
菜单分为 菜单条 菜单 菜单项
1 菜单条
Jcomponent(组件)子类 JMenubar 负责创建菜单条。
setJMenuBar(JMenuBar bar); 只能向窗口添加一个菜单条。
2 菜单
Jcomponent(组件)子类 JMenu 负责创建菜单。
JMenu(String...
分类:
其他好文 时间:
2014-09-22 22:06:33
阅读次数:
190
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist...
分类:
其他好文 时间:
2014-09-22 02:12:11
阅读次数:
245
转载:linux中断申请之request_threaded_irq 在linux里,中断处理分为顶半(top half),底半(bottom half),在顶半里处理优先级比较高的事情,要求占用中断时间尽量的短,在处理完成后,就激活底半,有底半处理其余任务。底半的处理方式主要有soft_irq, t...
分类:
系统相关 时间:
2014-09-21 16:44:01
阅读次数:
397
void CJjjView::OnPaint() { CPaintDC dc(this); //屏幕初始化 dc.SetMapMode(MM_LOENGLISH);//0.01in ;1英寸映射 dc.SetTextAlign(TA_CENTER|TA_BOTTOM); ...
分类:
其他好文 时间:
2014-09-21 12:04:10
阅读次数:
292