当前位置:网站首页>Framework customization series (I) -- systemui NavigationBar slide back to launcher on the navigation bar
Framework customization series (I) -- systemui NavigationBar slide back to launcher on the navigation bar
2022-07-28 15:41:00 【Liu Yiyi】
1. NavigationBar Slide the solution on the navigation bar
Code path :frameworks/base/services/core/java/com/android/server/wm/DisplayPolicy.java
notes :SystemUI Navigationbar Slide up in non hidden state , If there is a need to hide the navigation bar ,height Set to 1dp.
@Override
public void onSwipeFromBottom() {
if (mNavigationBar != null && mNavigationBarPosition == NAV_BAR_BOTTOM) {
// Log.d("ljx", "=========onSwipeFromBottom=========");
// Slide the relevant function requirement code on the navigation bar and write here .
requestTransientBars(mNavigationBar);
}
}
2. give an example NavigationBar Slide up and back on the navigation bar Launcher
Code path :frameworks/base/services/core/java/com/android/server/wm/DisplayPolicy.java
@Override
public void onSwipeFromBottom() {
if (mNavigationBar != null && mNavigationBarPosition == NAV_BAR_BOTTOM) {
+ /**add by [email protected] for re边栏推荐
- Matlab does not overwrite importing Excel
- An article about rsocket protocol
- Five connection modes of QT signal and slot
- 软件架构与设计(一)-----关键原则
- 19. Channel assignment task definition
- 如何搭建openGrok代码服务器
- The subst command mirrors a folder to a local disk
- 22. Realization of message processing task
- Qt刷新UI界面问题
- leetcode-括号有效性问题
猜你喜欢

如何获取及嵌入Go二进制执行包信息

腾讯面试之--请你设计一个实现线程池顺序执行

融云实时社区解决方案

关于Simulink如何生成模型覆盖率报告
![[delete specified number leetcode]](/img/16/b40492d8414a363a3a24f00b4afd47.png)
[delete specified number leetcode]

一文了解 Rainbond 云原生应用管理平台

使用Mock技术帮助提升测试效率的小tips,你知道几个?

Easyexcel complex header export (one to many)

Pycharm - output exception of program run and default comment of added function

Vs dynamic library debugging
随机推荐
【删除指定数字——leetcode]
Close independent windows and close other windows at the same time
How many tips do you know about using mock technology to help improve test efficiency?
2、开源GPS项目HD-GR GNSS的自叙
堆操作
10、相关数据累积任务实现
Qt信号与槽的五种连接方式
Qt创建文件夹的两种方式区别
多线程
7、实时数据备份和实时时钟相关定义
给你一个链表,删除链表的倒数第 n 个结点,并且返回链表的头结点。
1. Author of the open source GPS project hd-gr GNSS
Explain the difference set, intersection set and union set of complex type set in detail.Net
8. Realization of real-time data backup and real-time clock function
提速1200倍!MIT开发新一代药物研发AI,吊打老模型
VirturalBox解决kernel driver问题
19. Channel assignment task definition
迟来的2021年终总结
正则表达式(4)
如何搭建openGrok代码服务器