一个帮助你构建带滑动返回手势应用的 Android 库。
一个帮助你构建带滑动返回手势应用的 Android 库。
你的项目需要引用最新版的 android-support-v4.jar。
Activity 继承 SwipeBackActivity:onCreate 方法中,照常调用 setContentView() 即可。getSwipeBackLayout() 方法来自定义 SwipeBackLayout。<item name="android:windowIsTranslucent">true</item>,使窗口半透明。…通过 Jcenter 下载:
compile 'me.imid.swipebacklayout.lib:library:1.1.0'我非常乐意接受修复和功能增强方面的 Pull Request,但请提交到 develop 分支。
Copyright 2013 Isaac Wang
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.apache.org/licenses/LICENSE-2.0除非适用法律要求或书面同意,否则根据本许可证分发的软件是按“原样”分发的,不附带任何明示或暗示的保证或条件。请参阅许可证,了解有关许可证下的权限和限制的具体规定。
暂无开放 Issues,或尚未同步最近议题。