类似魅族M9解锁那样的效果么,抽屉,回弹效果,具体怎么实现?
有类似的demo或者example么?
有类似的demo或者example么?
解决方案 »
- 从serivce中使用SurfaceView(没有activity)
- android 终端无法运行C程序
- Fragment中获取网络数据的问题
- C向JAVA多个字符串传递问题
- Android模拟器只用到一个CUP
- 初学android 遇到一些小问题
- vlc编译出错,请高手看看什么症状,小弟实在不解,感激ing……
- Android图片分割
- com.android.camera.action.CROP在4.4系统上截图失效
- 安卓问题 照着第一行代码敲的 第14章天气app实战 在点击listview的item时 一直等待出不来结果
- android 接收短信广播意图 代码如下 不工作啊 在线等待答案
- Android入门
android:id="@+id/drawer"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:handle="@+id/handle"
android:content="@+id/content">
<ImageView
android:id="@id/handle"
android:layout_width="88dip"
android:layout_height="44dip" />
<GridView
android:id="@id/content"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</SlidingDrawer>
只要在layout中添加这段代码就OK了,
android:handle="@+id/handle"
android:content="@+id/content"
这两个分别指的是:拉动抽屉的、抽屉内容(content)
当然,这里的GridVew也可以替换成你想要的layout