当前位置:网站首页>Framework定制系列(十)-----SystemUI定制状态栏statusbar和导航栏navigationbar教程
Framework定制系列(十)-----SystemUI定制状态栏statusbar和导航栏navigationbar教程
2022-07-28 14:38:00 【丨刘一丨】
1. SystemUI状态栏定制
- 状态栏高度修改
diff --git a/core/res/res/values/dimens.xml b/core/res/res/values/dimens.xml
index 3edfb36982f..600dc3229dc 100644
--- a/core/res/res/values/dimens.xml
+++ b/core/res/res/values/dimens.xml
@@ -34,7 +34,8 @@
<!-- Height of the status bar -->
<dimen name="status_bar_height">@dimen/status_bar_height_portrait</dimen>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">24dp</dimen>
+<!-- <dimen name="status_bar_height_portrait">24dp</dimen>-->
<dimen name="status_bar_height_portrait">64px</dimen><!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">@dimen/status_bar_height_portrait</dimen>
<!-- Height of area above QQS where battery/time go --边栏推荐
- The difference between character array and string
- Ffmpeg notes
- 简单入手Swagger
- ArcGIS Pro 中的编辑器
- Crmeb Standard Version window+phpstudy8 installation tutorial (I)
- subst命令将一个文件夹镜像成本地的一个磁盘
- Rongyun real-time community solution
- Nftscan and nftplay have reached strategic cooperation in the field of NFT data
- ERROR:bokeh.core.validation. check:E-1001 (BAD_COLUMN_NAME)
- Problems encountered by pyppeter
猜你喜欢

2022年最火的十大测试工具,你掌握了几个

No files or folders found to process

ECCV 2022 | SSP: 自支持匹配的小样本任务新思想

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

Vs dynamic library debugging

DataTables warning: table id=campaigntable - cannot reinitialize datatable. solve

Explain the difference set, intersection set and union set of complex type set in detail.Net
Data synchronization of new version

Celery related

Crmeb Standard Edition window+phpstudy8 installation tutorial (III)
随机推荐
2、开源GPS项目HD-GR GNSS的自叙
VS使用技巧
NFTScan 与 NFTPlay 在 NFT 数据领域达成战略合作
Pytorch - sequential and modulelist
10. Implementation of related data accumulation task
封装统一返回对象MessageResult
7、实时数据备份和实时时钟相关定义
字符串(3)
Canoe tutorial
爬虫入门(1)——requests(1)
.net core version 2.2 cross domain configuration
Easy start, swagger
2022年最火的十大测试工具,你掌握了几个
分享一下一二线大厂HR面经分享
vs动态库调试
如何获取及嵌入Go二进制执行包信息
Explain the difference set, intersection set and union set of complex type set in detail.Net
21、电文处理任务定义
day 7/12
软件测试的流程规范有哪些?具体要怎么做?