码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
PopupWindow选项弹窗
PopupWindow选项弹窗 一、popupwindow弹窗简介 popupwindow是一种弹窗在应用中经常使用,像超级课程表的周数选择,微博的标题栏的titlebar中的选择等等 ,如图所示。 但是和alertDialog很相似,但是还是有很大的区别的。AlterDialog是非阻塞式对话框:AlaterDialog弹出时,后台还...
分类:Windows程序   时间:2015-01-02 12:16:11    阅读次数:353
ubuntu两张网卡时的网络设置
最近在自己实验搭建openstack平台,开始准备使用kvm搭建实验环境,先记录下安装过程中遇到的一些小的问题。给 ubuntu 配置两张网卡时,遇到问题,使用ifup eth1 时候 :rtnetlink answers file exists fail to bring up eth1,问题原因...
分类:系统相关   时间:2015-01-02 10:59:34    阅读次数:294
[LeetCode]112.Path Sum
【题目】 Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below binary tre...
分类:其他好文   时间:2015-01-01 23:49:22    阅读次数:189
LeetCode: Search in Rotated Sorted Array II 解题报告
Search in Rotated Sorted Array IIFollow up for "LeetCode: Search in Rotated Sorted Array 解题报告":What ifduplicatesare allowed?Would this affect the run-...
分类:其他好文   时间:2015-01-01 21:07:17    阅读次数:240
【POJ】2653 Pick-up sticks(计算几何+暴力)
http://poj.org/problem?id=2653我很好奇为什么这样$O(n^2)$的暴力能过....虽然说这是加了链表优化的,但是最坏不也是$O(n^2)$吗。。。(只能说数据太弱...)然后本题裸的判线段相交和点在直线上...(看了网上的标程,不判端点的情况都能过我也是醉了...)#i...
分类:其他好文   时间:2015-01-01 17:18:03    阅读次数:130
what eats up the performance in the interior scene?
- baseline (7w rps/core)- switch from large accelerator to regular accelerator (9w rps/core)- replace all materials with diffuse (12w rps/core)- remov...
分类:其他好文   时间:2015-01-01 13:38:37    阅读次数:193
leetcode 167: Two Sum II - Input array is sorted
Two Sum II - Input array is sorted Total Accepted: 441 Total Submissions: 1017 Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a...
分类:其他好文   时间:2014-12-31 08:43:53    阅读次数:164
【转】12条生活黄金定律
12 Golden Rules For Living 12条生活黄金定律1. If you open it, close it.开了头的,记得结束。2. If you turn it on, turn it off.一旦打开,记得关上。3. If you unlock it, lock it up....
分类:其他好文   时间:2014-12-31 06:19:45    阅读次数:152
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!