Android 上拉面板 AndroidSlidingUpPanel
- 授权协议: Apache
- 开发语言: Java
- 操作系统: Android
- 软件首页: http://umano.me/
- 软件文档: https://github.com/umano/AndroidSlidingUpPanel/blob/master/README.md
- 官方下载: https://github.com/umano/AndroidSlidingUpPanel/archive/master.zip
软件介绍
AndroidSlidingUpPanel 是一个上拉面板, 就是向上滑动的时候往上飞出一个显示面板控件, 该库效果在 Google Music, Google Maps and Rdio等 App 中用到。
效果图:
用法:
使用com.sothree.slidinguppanel.SlidingUpPanelLayout作为您的活动布局的根元素。
布局必须设置为顶部或底部。请确保它有两个元素。
第一个元素是你的主要布局。第二个元素是你的向上滑动面板布局。
主要布局应当具有的宽度和高度设置为match_parent。
滑动的布局的宽度应设置为match_parent;高度应设置为match_parent,WRAP_CONTENT或最大desireable高度。
如果您想定义高度屏幕为percetange,可将其设置为match_parent,滑动视图定义为layout_weight属性。
默认情况下,整个面板将作为拖动区域和将截获的点击和拖动事件。可以通过使用setDragView方法或umanoDragView属性限制牵引区到特定的图。
想了解更多信息,请参考示例代码:
<com.sothree.slidinguppanel.SlidingUpPanelLayout xmlns:sothree="http://schemas.android.com/apk/res-auto" android:id="@+id/sliding_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="bottom" sothree:umanoPanelHeight="68dp" sothree:umanoShadowHeight="4dp"> <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:text="Main Content" android:textSize="16sp" /> <TextView android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center|top" android:text="The Awesome Sliding Up Panel" android:textSize="16sp" /> </com.sothree.slidinguppanel.SlidingUpPanelLayout>
风云Flash ActionScript高级编程艺术
赵英杰 / 第1版 (2006年7月1日) / 2006-7 / 45.00元
本书从基本的Actionscript语言概念开始介绍,配以实际的程序实例并穿插生动的图示说明,深入浅出地讲解Flash ActionScript程序的运用逻辑与概念,让读者从实例中学习进而融会贯通。同时,本书也说明面向对象程序设计(00P)的语法及常用类别实例,提升读者制作F1ash作品的造诣和能力。全书共分为10章,精彩实例包括以三角函数制作的抽奖轮盘,FlashLite手机版孔明棋游戏,Bit......一起来看看 《风云Flash ActionScript高级编程艺术》 这本书的介绍吧!
