Comments (4)
这个问题,我知道的是个BUG,建议先关掉虚拟导航条的控制。后期我修改后再通知你,
from fastlib.
好的。谢谢
from fastlib.
请问各位大神有没有解决的思路不?我的APP在红米5plus也会出现相应问题,但有的手机又正常
from fastlib.
/**
* {@link FastLifecycleCallbacks#onActivityStarted(Activity)}
*
* @param activity
* @param helper
*/
@OverRide
public boolean setNavigationBar(Activity activity, NavigationViewHelper helper, View bottomView) {
//其它默认属性请参考FastLifecycleCallbacks
helper.setLogEnable(BuildConfig.DEBUG)
.setTransEnable(isTrans(activity))
.setPlusNavigationViewEnable(isTrans(activity))
.setBottomView(PicturePreviewActivity.class.isAssignableFrom(activity.getClass()) ?
FindViewUtil.getTargetView(bottomView, R.id.select_bar_layout) : bottomView)
.setNavigationViewColor(Color.argb(isTrans(activity) ? 0 : 102, 0, 0, 0))
.setNavigationLayoutColor(Color.WHITE);
activity.getWindow().getDecorView().getViewTreeObserver().addOnGlobalLayoutListener(new ViewTreeObserver.OnGlobalLayoutListener() {
@Override
public void onGlobalLayout() {
LoggerManager.i(TAG, "isNavigationBarVisible:" + com.aries.library.fast.demo.util.NavigationBarUtil.isNavigationBarVisible(activity) + ";checkDeviceHasNavigationBar:" +
com.aries.library.fast.demo.util.NavigationBarUtil.checkDeviceHasNavigationBar(activity) +
";getNavigationBarHeight:" + com.aries.library.fast.demo.util.NavigationBarUtil.getNavigationBarHeight(activity) + ";getSystemUiVisibility:" + activity.getWindow().getDecorView().getSystemUiVisibility());
}
});
return isControlNavigation();
}
在这个回调中如是出现问题的手机型号筛选出来返回false,目前就这种方式可以规避,我也在尝试找根除的方法,有解决方案及时通知
from fastlib.
Related Issues (20)
- 接入扫描二维码问题 HOT 1
- 这个框架动不动就崩怎么回事啊 HOT 6
- 在平板上底部mTabLayout 在弹出软键盘后消失了 HOT 1
- 大佬,使用这个框架,底部的button 怎么固定在底部呢,每次都会跟随软键盘弹出,而被顶上去,求解?
- 博主,请问下 PictureSelector:picture_library 这个第三方库是否可以升级下?,现在最新版本是 :v2.6.0 HOT 2
- 多次调用loadData HOT 2
- 初始化失败,无法调用,配置文件修改不起作用 HOT 2
- 多布局适配器 HOT 1
- java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dmool.anime/com.kuaikan.comic.reader.ui.ComicDetailActivity}: android.util.AndroidRuntimeException: requestFeature() must be called before adding content HOT 4
- 请求头 HOT 2
- eventbus 使用 HOT 3
- 标题栏不显示 HOT 2
- 老大,屏幕适配的后面打算集成下么 HOT 1
- 返回按钮无效 HOT 1
- onVisibleChanged重复执行 HOT 2
- 急急。。。打包后,接口请求参数传的都是空,本地调式好的 HOT 2
- 项目扩展为mvvm后,titleBar 无效了 HOT 7
- 背景色覆盖列表
- tab红点显示位置
- 大佬你好,wiki中网络请求示例好像过时了
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 fastlib.