Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swipeback 的处理 #12

Open
JuneLeGency opened this issue Nov 15, 2015 · 2 comments
Open

swipeback 的处理 #12

JuneLeGency opened this issue Nov 15, 2015 · 2 comments

Comments

@JuneLeGency
Copy link

我试了 原来的swipeback 总是在miui 上4.4会直接看到 桌面。但是你的代码中不会,不知道是什么原因。查了好久没看到你修改什么东西

@tianshaojie
Copy link
Owner

直接看到桌面是什么意思?左滑的时候,看到的不是父页面?

@JuneLeGency
Copy link
Author

已经找到了你的方式,你没有出现这个bug的原因是 你有一个闪屏activity 主题是全屏 非 translate 放在了栈底
https://github.com/tianshaojie/AndroidFine/blob/master/app/src/main/AndroidManifest.xml#L15
去掉这一行就会

如果全局都是swipeback 在部分机型上 就会出现我说的效果
滑动 其他activity 时 会直接看到桌面,看不到下面的activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants