Getting StartedThis lesson teaches you toApply the Material ThemeDesign Your LayoutsSpecify Elevation in Your ViewsCreate Lists and CardsCustomize You...
                            
                            
                                分类:
其他好文   时间:
2015-01-25 18:05:08   
                                阅读次数:
188
                             
                         
                    
                        
                            
                            
                                Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example, 
Given [0,1,0,2,1,0,1,3,2,1,2,1]...
                            
                            
                                分类:
移动开发   时间:
2015-01-18 17:12:30   
                                阅读次数:
165
                             
                         
                    
                        
                            
                            
                                Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining....
                            
                            
                                分类:
移动开发   时间:
2015-01-16 01:02:04   
                                阅读次数:
202
                             
                         
                    
                        
                            
                            
                                elevation: 高度,静态属性;在代码中使用 View.setElevation 方法去定义 TranslationZ:Z轴相对于高度的位置,用于实现动画的动态属性。设置视图的translation,在代码可以使用View.setTranslationZ方法 新的ViewPropertyAni...
                            
                            
                                分类:
其他好文   时间:
2015-01-02 12:09:29   
                                阅读次数:
163
                             
                         
                    
                        
                            
                            
                                CardView继承自FrameLayout类,可以在一个卡片布局中一致性的显示内容,卡片可以包含圆角和阴影。CardView是一个Layout,可以布局其他View.CardView的属性: elevation --CardView的Z轴阴影; cardBackgroundColor--Car.....
                            
                            
                                分类:
移动开发   时间:
2014-12-29 22:59:29   
                                阅读次数:
332
                             
                         
                    
                        
                            
                            
                                看到android5.0版本中提供了  elevation  的功能,我在SDK Manager 下载了 Android 5.0  例子代码,看了下  ElevationBasic 例子,展示了2个view对象,一个圆形一个矩形,圆形设置了 android:elevation  =  30dp,具体例子如下
 
<!--
  
 Copyright 2014 The Androi...
                            
                            
                                分类:
移动开发   时间:
2014-12-26 18:41:09   
                                阅读次数:
176
                             
                         
                    
                        
                            
                            
                                Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
                            
                            
                                分类:
移动开发   时间:
2014-12-21 21:51:30   
                                阅读次数:
234
                             
                         
                    
                        
                            
                            
                                Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
                            
                            
                                分类:
移动开发   时间:
2014-12-20 16:49:47   
                                阅读次数:
159
                             
                         
                    
                        
                            
                            
                                看到android5.0版本中提供了  elevation  的功能,我在SDK Manager 下载了 Android 5.0  例子代码,看了下  ElevationBasic 例子,展示了2个view对象,一个圆形一个矩形,圆形设置了 android:elevation  =  30dp,具体例子如下
1
2
3
4
5
6
...
                            
                            
                                分类:
移动开发   时间:
2014-12-16 15:05:30   
                                阅读次数:
285
                             
                         
                    
                        
                            
                            
                                Trapping Rain WaterGivennnon-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to tr...
                            
                            
                                分类:
移动开发   时间:
2014-12-15 15:03:44   
                                阅读次数:
184