Comments (9)
这个我改完了,但是为了兼容部分国产机型而做的改动比较大,等我们的产品稳定运行一个版本,再推commit
大体思路就是本文所描述的
from bgaswipebacklayout-android.
@xiaobaDev 你那边出现导航栏白条是用的最新版本 v1.1.5 吗?
from bgaswipebacklayout-android.
是最新的,这个和你版本其实没啥关系了,在oppo R9上,无论导航条收起还是展开;用getAppUsableScreenSize
拿到的就是1800;其实应该是1920;
from bgaswipebacklayout-android.
请问你说的打开demo,然后把View的节点打印出来查看下。请问如何打印?
from bgaswipebacklayout-android.
用android studio 运行demo程序,在Ide的底部栏目里找到 android Monitor,点开;再找到左边的Layout Inspector,点击下,等待android studio 打印出节点,然后找到ID的属性即可
from bgaswipebacklayout-android.
魅族3 Layout Inspector下看不到smartbar
from bgaswipebacklayout-android.
from bgaswipebacklayout-android.
这个只能稍等下了,我先把主流思路实现掉,再去做这smartBar的适配
你可以拿这个代码去检测下看
public static View getCustomNavigationBar(Activity context) {
if (context == null || context.getWindow() == null) return null;
return context.getWindow().findViewById(android.R.id.navigationBarBackground);
}
from bgaswipebacklayout-android.
@xiaobaDev 请问这个稳定了么,遇到类似的问题。
from bgaswipebacklayout-android.
Related Issues (20)
- 不
- HUAWEI-ALE-L20 底部出现空白
- Samsung Galaxy S10 navigation bar hide or show - height is wrong
- Viewpager嵌套fragment的页面,不能滑动返回
- 侧滑返回带地图的页面,地图控件黑屏 HOT 2
- 侧滑返回后,界面UI控件点击事件失效 HOT 2
- 在使用了沉浸式状态栏后 输入法打开会顶起一部份View
- 顺时针旋转90度横屏的时候出现个问题
- 闪屏
- BGASwipeBackLayout.java:1174 Canvas绘制错误,请问这是什么问题导致的
- 侧滑返回之后,ListView自动滑动到顶部
- android 10 以上,有图片的地方都会闪一下(有截图,和视频,麻烦帮忙看看) HOT 2
- 请问这个项目会长期维护吗?
- 多次返回崩溃
- 同一个页面多次返回,崩溃
- cannot be cast to androidx.constraintlayout.widget.ConstraintLayout$LayoutParams (BGASwipeBackLayout.java:855)
- webview里面h5的左右滑动跟滑动返回冲突
- 在demo中webview使用,如果链接中的页面中含有可左右滑动的布局,那么向右滑动的时候无法触发h5本身的滑动,而是直接返回了。有啥解决的方法吗,急急急
- English README
- 支持从右向左滑动关闭页面吗
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgaswipebacklayout-android.