码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
android 横竖屏切换 简记
横竖屏切换,不重新加载 Up to API 13 there was a new value to the configChanges attribute, screenSize So if you're using large screens make sure to add screenSize in your configChanges attribute: android:confi...
分类:移动开发   时间:2014-08-13 15:02:36    阅读次数:251
leetcode -- Two Sum
文能深情寻萝莉,武能仗义护人妻[问题描述]Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return ...
分类:其他好文   时间:2014-08-13 14:51:56    阅读次数:228
android 细节之禁用返回键
今天项目中需要使用自己actionBar中的返回键,用的方法就是上次我记录下的父亲activity的方法 android.support.PARENT_ACTIVITY 详情请移步:http://blog.csdn.net/yiding_he/article/details/38410151 (android 细节之 menu 之 invalidateOptionsMenu) 今天的问...
分类:移动开发   时间:2014-08-13 03:35:55    阅读次数:177
20140813晚整理开源项目
目前包括:Android开源项目第一篇——个性化控件(View)篇 包括ListView、ActionBar、Menu、ViewPager、Gallery、GridView、ImageView、ProgressBar、TextView、ScrollView、TimeView、TipView、Fli....
分类:其他好文   时间:2014-08-13 03:31:46    阅读次数:607
POJ 2738 Two Ends(记忆化)
Description In the two-player game "Two Ends", an even number of cards is laid out in a row. On each card, face up, is written a positive integer. Players take turns removing a card from either end...
分类:其他好文   时间:2014-08-13 01:18:05    阅读次数:209
004字符串去重 (keep it up)
设计算法并写出代码移除字符串中重复的字符,不能使用额外的缓存空间。注意: 可以使用额外的一个或两个变量,但不允许额外再开一个数组拷贝。 简单题直接上代码: #include #include void remove_duplicate(char vStr[]) { int Len = strlen(vStr); if (!Len) { printf("the stri...
分类:其他好文   时间:2014-08-13 01:11:05    阅读次数:252
MemSQL Start[c]UP 2.0 - Round 2
反正晚上睡不着,熬到1点开始做比赛,6个题目只做了2个题目,而且手速还比较慢,待提升空间还很大呢。A题:给定两个0,1串(len 3 #define in freopen("solve_in.txt", "r", stdin); 4 using namespace std; 5 6 const i....
分类:数据库   时间:2014-08-13 00:53:24    阅读次数:433
cgroup子系统3_freezer子系统
freezer子系统用于挂起和恢复cgroup中的进程。freezer有一个控制文件:freezer.state,将FROZEN写入该文件,可以将cgroup中的进程挂起,将THAWED写入该文件, 可以将已挂起的进程恢复。通过遍历cgroup中的进程,对其freeze或者wake_up。freeze操作通过freeze框架实现,设置进程的TIF_SIGPENDING函数(伪信号),唤醒进程,...
分类:其他好文   时间:2014-08-12 22:10:34    阅读次数:302
XP 安装
提供一下裝系統的詳細步驟,盡量詳細到每一步都有,希望能對樓主有所幫助,不盡之處還請樓主不吝指出!謝謝装XP的步骤如下: 开机时,按del键, 进入bios界面,一般选左侧第二项,(Advanced BIOS Features) 进入后,看boot项,Frist Boot...(用page up和pa...
分类:其他好文   时间:2014-08-12 21:55:34    阅读次数:205
HDU 4939 Stupid Tower Defense dp
因为瞬间伤害的塔一定是放在终点端的,所以枚举这种塔的个数 然后就能把n^3变成n^2了 #include #include #include typedef long long ll; const int N = 1500 + 2; ll d[N][N]; // j = 3; int Tt = 0, n, x, y, z, t; inline void up(ll& a, ll...
分类:其他好文   时间:2014-08-12 19:08:14    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!