AndroidSlidingUpPanelAndroid 上拉面板
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>
评论
HorizonOpenstack 操作面板
Horizon是一个使用Django开发的项目,旨在为Openstack提供一个功能全面的操作面板,包括一个可扩展的框架用于构造新的可重用面板。
HorizonOpenstack 操作面板
0
Marketplace-operator-dashboard操作面板
Marketplace-operator-dashboard看名字即可知道这是火狐商店的操作面板。允许运营者管理他们的应用程序集合(orOperatorShelves)。
Marketplace-operator-dashboard操作面板
0
AAActivityActioniOS 上拉菜单
AAActivityActionisReederlikeActionSheet.MethodarchitectureisinspiredbyUIActivityandUIActivityViewCon
AAActivityActioniOS 上拉菜单
0
UAModalPanel模式面板
UAModalPanel 是一个模式面板的替代品,可以弹出一个视图用来显示你需要的各种内容,支持iPhone和iPad,支持屏幕旋转,这是一个非 ARC 项目。
UAModalPanel模式面板
0