今天做公司项目的时候用到了一个新的东东,
getActionBar().setDisplayHomeAsUpEnabled(true);
这个神奇的东东是使得actionBar上面会出现一个向左的小箭头。
按下它就相当于back,对应的事件是ActionBar.DISPLAY_HOME_AS_UP.
以前做项目为省劲总是在2.0上混,这个东西是在4.0以后默认为false。
...
分类:
移动开发 时间:
2014-08-02 05:14:22
阅读次数:
191
Warm up 2
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)
Total Submission(s): 1754 Accepted Submission(s): 781
Problem Description
Some 1×2 domino...
分类:
其他好文 时间:
2014-08-01 19:58:22
阅读次数:
289
Linked List Cycle
Total Accepted: 24397 Total
Submissions: 68598My Submissions
Given a linked list, determine if it has a cycle in it.
Follow up:
Can you solve it without using extra sp...
分类:
其他好文 时间:
2014-08-01 19:52:42
阅读次数:
221
6450 Social AdvertisingYou have decided to start up a new social networking company. Other existing popular social networksalready have billions of us...
分类:
其他好文 时间:
2014-08-01 15:32:01
阅读次数:
310
Description
Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…
The Lunar New Year was approaching, but unluckily the Little ...
分类:
其他好文 时间:
2014-08-01 13:43:42
阅读次数:
193
Sign Up for the First-Ever Appium Roadshow on August 20th in New York City
分类:
移动开发 时间:
2014-08-01 13:05:01
阅读次数:
315
Problem Description
Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees...
分类:
其他好文 时间:
2014-08-01 10:54:28
阅读次数:
315
题目还原
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 indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-08-01 02:25:11
阅读次数:
391
Path SumGiven 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 give...
分类:
其他好文 时间:
2014-07-31 23:18:10
阅读次数:
227
Populating Next Right Pointers in Each Node IIFollow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any ...
分类:
其他好文 时间:
2014-07-31 23:16:30
阅读次数:
182