应用导航的一致性是整体用户体验的重要组成部分,如果app的导航方式不一样,用户不能很快理解,那么这个应用会让用户有很大的挫败感,大大地影响了用户体验。
Android 3.0后,系统像大家介绍了其在全局导航表现上的重大改变。全面地理解“Back”以及“Up”的导航效果以及意义,能够大大地减少用户的学习时间,用户在使用过程中很快能够学习如何在应用的各个界面间的切换。...
                            
                            
                                分类:
移动开发   时间:
2014-08-27 01:39:36   
                                阅读次数:
318
                             
                         
                    
                        
                            
                            
                                LeetCode: 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 equal...
                            
                            
                                分类:
其他好文   时间:
2014-08-27 00:07:27   
                                阅读次数:
298
                             
                         
                    
                        
                            
                            
                                题目链接题意 : 把每根棍往地上扔,找出最后在上面的棍,也就是说找出所有的没有别的棍子压在它的上面的棍子。思路 : 对于每根棍子,压在他上面的棍子一定是在它之后扔的棍子,所以在找的时候只要找它之后的线段是否与他相交即可。 1 //2653 2 #include 3 #include 4 #inc.....
                            
                            
                                分类:
其他好文   时间:
2014-08-26 22:46:16   
                                阅读次数:
243
                             
                         
                    
                        
                            
                            
                                Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the...
                            
                            
                                分类:
其他好文   时间:
2014-08-26 17:19:16   
                                阅读次数:
191
                             
                         
                    
                        
                            
                            
                                TouchEventTouchEvent 分三种事件:down、move、up。其中move事件在一个操作中(这里说的一个操作就是用户与屏幕的交互,即由down到up的动作序列)可能会发生多次。 但是,我们认为一个动作序列会包含以上三种事件,因此,在事件处理中就是要处理好这个过程,而最重要的就是do...
                            
                            
                                分类:
移动开发   时间:
2014-08-26 17:16:46   
                                阅读次数:
310
                             
                         
                    
                        
                            
                            
                                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-08-26 17:05:36   
                                阅读次数:
156
                             
                         
                    
                        
                            
                            
                                Ubuntu配置双IPsudo vim/etc/network/interfaces 打开IP配置文件 1 auto lo 2 iface lo inet loopback 3 auto eth0 4 iface eth0 inet static 5 #pre-up ifconfig eth0 hw...
                            
                            
                                分类:
其他好文   时间:
2014-08-26 14:58:16   
                                阅读次数:
253
                             
                         
                    
                        
                            
                            
                                Linux Makefile HowtoLinux Makefile HowtoAs far as I can remember, I have worked with makefile for quite a while, and Iwill look up for the meaning of ...
                            
                            
                                分类:
系统相关   时间:
2014-08-26 11:19:55   
                                阅读次数:
345
                             
                         
                    
                        
                            
                            
                                When life gets hard and you want to give up,remember thatlife is full of ups and downs, and without the downs,the upswould mean nothing当生活很艰难,你想要放弃的时候...
                            
                            
                                分类:
其他好文   时间:
2014-08-26 11:07:35   
                                阅读次数:
287
                             
                         
                    
                        
                            
                            
                                the algorithm is like this: it evenly spreads an integer N over K cells.for i = 0 to K array[i] = N / K # integer division# divide up the remain...
                            
                            
                                分类:
其他好文   时间:
2014-08-26 05:20:04   
                                阅读次数:
205