Android仿ios二级菜单侧滑,仿IOS的列表项滑动菜单——ListItemMenu
一个简单的仿IOS的列表项滑动菜单(也不知道怎么描述比较好)。
顺手做出来的小东西,就分享给大家了。
仿iOS列表项滑动菜单:
1、滑动出现菜单,越界阻尼效果;
2、删除列表项效果。
GitHub地址:
https://github.com/zarics/ListItemMenu
1.[代码]布局示例代码(其他代码见Github)
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:id="@+id/delete"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
android:text="删除"
android:textColor="#ffffffff"
android:textSize="20sp"
android:background="#ffcc2500"/>
android:id="@+id/info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="20dp"
android:text="信息"
android:textColor="#ffffffff"
android:textSize="20sp"
android:background="#ff308dff"/>
android:id="@+id/item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="20dp"
android:textSize="20sp"
android:background="#ffffff"/>
Android仿ios二级菜单侧滑,仿IOS的列表项滑动菜单——ListItemMenu相关推荐
- android 自定义ViewGroup和对view进行切图动画实现滑动菜单SlidingMenu[转]
http://blog.csdn.net/jj120522/article/details/8095852 示意图就不展示了,和上一节的一样,滑动菜单SlidingMenu效果如何大家都比较熟悉,在这 ...
- Android【Toolbar、DrawerLayout 滑动菜单、 FloatingActionButton 悬浮按钮、Snackbar可交互提示、 Coordinator】
目录 1.Toolbar 1.1基本框架 1.2常用属性 1.3添加工具栏点击事件 1.4 溢出菜单 1.5 溢出菜单的点击事件 2 DrawerLayout 滑动菜单 2.1 基本框架 2.2 Na ...
- html 下拉菜单不能下拉_音乐下拉菜单
html 下拉菜单不能下拉 Musical drop down menu 音乐下拉菜单 Our new tutorial tells about developing cool musical dro ...
- 【Android】毫无耦合性,一个Item根布局搞定 item侧滑删除菜单,像IOS那样简单的使用侧滑删除。
重要的话 开头说,not for the RecyclerView or ListView, for the Any ViewGroup. 本控件不依赖任何父布局,不是针对 RecyclerView. ...
- Android DrawerLayout 高仿QQ5.2双向侧滑菜单
转载请标明出处: http://blog.csdn.net/lmj623565791/article/details/41531475,本文出自: [张鸿洋的博客] 1.概述 之前写了一个Androi ...
- android 仿饿了么地图,iOS Andriod百度地图仿百度外卖 饿了么 选择我的地址 POI检索...
title: iOS Andriod百度地图仿百度外卖 饿了么 选择我的地址 POI检索 date: 2015-09-19 21:06:26 tags: 百度外卖选择送货地址:饿了么选择送货地址: 第 ...
- Android之高仿QQ6.6.0侧滑效果(背景动画、透明+沉浸式状态栏、渐变效果)
根据需求实现类似QQ侧滑效果,之前看到过很多实现方式通过SlidingMenu,但是既然官方推出了自己的专属控件,那么使用DrawerLayout就是不二选择.且看下文. 一.先来看看官方文档解释 D ...
- DrawerLayout 高仿QQ5.2双向侧滑菜单
转载请标明出处: http://blog.csdn.net/lmj623565791/article/details/41531475,本文出自: [张鸿洋的博客] 1.概述 之前写了一个Androi ...
- Android仿人人客户端(v5.7.1)——采用RelativeLayout做父容器,实现左侧滑动菜单(二)...
转载请标明出处:http://blog.csdn.net/android_ls/article/details/8758943 上一篇在Android仿人人客户端(v5.7.1)--应用主界面之滑动效 ...
最新文章
- linux 极简统计分析工具 datamash 必看教程
- 深入JVM锁机制2-Lock
- C#仿QQ皮肤-主窗体MainForm和Main的实现
- nodejs里require的调试截屏
- mel滤波器组频率响应曲线_了解二阶滤波器的奈奎斯特图
- 禁用F12和鼠标右键,防止查看控制台代码
- 装饰模式在Intermec CK1应用程序中通讯模块的应用
- emacs的配色方案
- curl返回常见错误码
- android单选按钮_Android单选按钮示例
- 推荐:绝对是最好用的公式编辑器
- 支持IE8的文件上传
- PS如何修改扩展插件的名字(Photoshop重命名插件教程)
- 2021年工作日和非工作日JSON,全年休息日、节假日、假期、周末
- 制作ROS小车系列(一)——小车底盘制作(麦科勒姆轮地盘)
- [JZOJ3385] [NOIP2013模拟] 黑魔法师之门 解题报告(并查集)
- 图解正则表达式,这一篇就够了
- 基于数据库实现微服务动态路由
- MySQL数据库使用命令行备份|MySQL数据库备份命令
- 低频电磁波与高频电磁波优势与劣势