1.Activity菜单机制 (与dialog类似)Activity有一套机制来实现对菜单的管理,方法如下:1.public boolean onCreateOptionsMenu(Menu menu)此方法用于初始化菜单,其中menu参数就是即将要显示的Menu实例。返回true则显示该menu,...
分类:
移动开发 时间:
2015-02-05 18:06:48
阅读次数:
128
类似微信的操作栏,仿三级菜单,实现伸缩展开,填写数据,实现对键盘输入监听,数据同步。...
分类:
其他好文 时间:
2015-02-05 16:28:24
阅读次数:
115
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7}...
分类:
其他好文 时间:
2015-02-05 16:27:50
阅读次数:
107
自定义标题文字样式标题样式是 ActionBar 样式的一部分,所以要先定义 ActionBar 的样式然后在 ActionBar 的样式中通过android:titleTextStyle定义标题的样式自定义副标题文字样式副标题样式同样是 ActionBar 样式的一部分,在ActionBar模式中...
分类:
其他好文 时间:
2015-02-05 11:13:46
阅读次数:
115
Abstract. Pipedata3d show piping component data in tables and 3D modeling. It can help the piping designers to looking up piping information quickly a...
分类:
其他好文 时间:
2015-02-04 21:41:43
阅读次数:
512
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array-ii/Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?...
分类:
其他好文 时间:
2015-02-04 20:15:06
阅读次数:
109
include my own version for your reference. We use this one to zip up photos to download so it works with various unzip programs. It preserves the dire...
分类:
编程语言 时间:
2015-02-04 20:12:25
阅读次数:
218
http://acm.hdu.edu.cn/showproblem.php?pid=4586
Problem Description
There is a dice with n sides, which are numbered from 1,2,...,n and have the equal possibility to show up when one rolls ...
分类:
其他好文 时间:
2015-02-04 18:48:16
阅读次数:
158
I would not suggest Richies answer, because you are screwing up the data inside the database. You would not fix your problem but try to "hide" it and ...
分类:
数据库 时间:
2015-02-04 18:23:15
阅读次数:
169