Comments (1)
if (ScreenUtil.getAppOrientation() == ORIENTATION_LANDSCAPE) {
params = new FrameLayout.LayoutParams(getBarSize("navigation_bar_height"), FrameLayout.LayoutParams.MATCH_PARENT);
params.gravity = Gravity.END;
}else {
params = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, getBarSize("navigation_bar_height"));
params.gravity = Gravity.BOTTOM;
}
maybe helps!
from ultimatebar.
Related Issues (20)
- 兼容Fragment吗? HOT 1
- 我用沉浸式状态栏,上面一整条都白色 HOT 1
- 在7.1.1的手机无效果 HOT 1
- 设置状态栏深色字体 HOT 2
- android 4.4.2 深浸式透明状态栏和隐藏所有 动态切换问题
- 在魅族pro7上 7.0系统 图片沉浸式无效 HOT 1
- 如何只隐藏导航而不隐藏状态栏 HOT 2
- android:Theme.Holo 主题下不能设置导航栏全透明 HOT 3
- 使用沉浸式能否不加android:fitsSystemWindows="true" HOT 1
- Set background and foreground color of status bar and navigation bar when make them hidden HOT 1
- 一个沉浸式Activity下有多个Fragment,有些Fragment需要沉浸式,有些不需要,能设置么? HOT 1
- 布局设置背景时出现的一个小问题 HOT 7
- 6.0以下如何设置字体和图标为灰色?设置statusDark无效 HOT 1
- 项目没用到kotlin,就不能用? HOT 1
- Doesn't work with DataBinding (ViewModel) HOT 1
- 状态栏为白色时 HOT 1
- 修改状态栏时,导航栏变成了黑色 HOT 1
- applyNavigation(false)无效,虚拟按钮与布局重叠 HOT 1
- 华为mate30 pro状态栏显示重叠 HOT 1
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 ultimatebar.