安卓拖动到屏幕布局 [英] Android Drag onto screen layout
问题描述
你会如何重新拖动到屏幕布局/效果类似于一个在一些Android主屏幕的设备?
How would you recreate the drag onto screen layout/effect similar to the one on some android home screen devices?
具体有一间酒吧,在主屏幕的顶部,你可以把你的手指上,并拖累。当你将它拖到另一个屏幕归结在屏幕的顶部。在我的手机此屏幕shortcust上WIFI,蓝牙,GPS等。
Specifically there is a bar at the top of the home screen and that you can put your finger on and drag down. When you drag it another screen comes down from the top of the screen. On my phone this screen has shortcust to wifi, bluetooth, gps, etc..
推荐答案
您要使用slidingdrawer控制。这里是一个教程:的http://android-journey.blogspot.com/2009/12/android-viewflipper-and-slidingdrawer.html
You want to use a slidingdrawer control. Here is a tutorial: http://android-journey.blogspot.com/2009/12/android-viewflipper-and-slidingdrawer.html
这篇关于安卓拖动到屏幕布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!