当前位置:网站首页>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 --边栏推荐
猜你喜欢

ArcGIS Pro 中的编辑器

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

Svg verification code recognition experience

Crmeb Standard Version window+phpstudy8 installation tutorial (I)

Easy start, swagger

Canoe tutorial

Opencv - closely combine multiple irregular small graphs into large graphs

Editor in ArcGIS Pro

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

Sharing of award-winning activities: you can get up to iphone13 after using WordPress to build your own blog
随机推荐
Execution process of SQL statement
Idea debugging burpsuit plug-in
提速1200倍!MIT开发新一代药物研发AI,吊打老模型
【删除指定数字——leetcode]
Ffmpeg notes
Multithreading
Editor in ArcGIS Pro
有奖活动分享:使用WordPress搭建一个专属自己的博客后最高可领取iPhone13
Summary of common redis commands (self provided)
19、通道分配任务定义
The subst command mirrors a folder to a local disk
Daily question (retrospective)
Principle and configuration of MPLS LDP
Easyexcel complex header export (one to many)
Endnote 与word关联
Crmeb Standard Edition window+phpstudy8 installation tutorial (II)
[jspwiki]jspwiki installation deployment and configuration
Some operations of bit operation
21、电文处理任务定义
Learn PHP reflection classes from ThinkPHP remote code execution