当前位置:网站首页>Source code of live video system, hiding and Title Modification of the top title bar
Source code of live video system, hiding and Title Modification of the top title bar
2022-06-22 17:37:00 【Yunbao network technology】
Live video system source code , Hide the top title bar and modify the title
1、 Hide the top title bar :
In our project Under the project , find “values” Under folder “themes.xml” or “styles.xml” file ( Consistent file location , The latter has a higher priority ), Then put the following code
<style name="Theme.Intelligent_agriculture" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
It is amended as follows :
<style name="Theme.Intelligent_agriculture" parent="Theme.MaterialComponents.DayNight.NoActionBar">
// Only need to DarkActionBar Modified into NoActionBar
2、 The title of the top title block is modified :
First , To open the first “manifests” Under folder “AndroidManifest.xml” file , Set the... Of the main startup interface label label
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label=" Smart agricultural management "
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Intelligent_agriculture">
<activity
android:name=".new_farming"
android:exported="false"
android:label=" Farming records ">
</activity>
<activity
android:name=".MainActivity"
android:exported="true" // Mark the main startup interface
android:label=" Smart agricultural management ">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
// adopt :label Label modification
// If the main startup interface is not set label label , be APP For the name of the application Labeled label
// Non main start Activity No settings label Label case , The default display is APP The name of
The above is the source code of the live video system , Hide the top title bar and modify the title , More content welcome to follow the article
边栏推荐
- 你管这破玩意儿叫高可用?
- Xftp 7 (ftp/sftp client) v7.0.0107 official Chinese free official version (with file + installation tutorial)
- High availability ResourceManager
- 股票在哪家的平台买比较安全呢?
- [mysql] data synchronization prompt: specified key was too long; max key length is 767 bytes
- 使用 POST 向 ASP.NET Core 传递数据时的长度限制与解决方案
- Blazor University (31) form - Validation
- Ad20/altium Designer - oil for manhole cover
- mysql服务器启动后自动停止
- [face recognition] matlab simulation of face recognition based on googlenet deep learning network
猜你喜欢
随机推荐
Recommend 7 super easy-to-use terminal tools - ssh+ftp
ABP Framework 5.3.0 版本新增功能和变更说明
Seeing the big from the small: a simple example of domain modeling, understanding "domain driven".
##Kibana+ELK集群日志处理
[mysql] install multiple MySQL versions on one Windows computer
测试组的任务职责和测试的基本概念
Basic application of scala for
Mysql-5.6.21-centos6.5 source code installation configuration
Hello Playwright:(7)模拟键盘和鼠标
This article takes you to master the use of tcpdump command
[fpga+pwm] design and implementation of phase shift trigger circuit for three-phase PWM rectifier based on FPGA
Noah fortune plans to land on the Hong Kong Stock Exchange: the performance fell sharply in the first quarter, and once stepped on the thunder "Chengxing case"
同花顺容易开户么?网上开户安全么?
Scala equality
0基础如何入门软件测试,能转行成功吗?
System throughput, TPS (QPS), user concurrency, performance test concepts and formulas
MySQL stored procedure exception handling error code: 1337
Blazor University (30) form - derived from inputbase
[psychology] emotional psychology - collision between contemporary thoughts and traditional thoughts (this article will be continuously updated from time to time)
Mybaits: interface proxy implementation Dao








