AndroidMainifest.xml文件属性
2024-09-06 16:18:47
1 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.example.first">
3
4 <uses-permission android:name="android.permission.INTERNET" />
5
6 <application
7 android:allowBackup="true"
8 android:icon="@mipmap/ic_launcher"
9 android:label="@string/app_name"
10 android:roundIcon="@mipmap/ic_launcher_round"
11 android:supportsRtl="true"
12 android:theme="@style/Theme.First">
13 <!-- android:theme="@style/Theme.AppCompat.DayNight.NoActionBar" 把这句话放在这的话是所有的页面都会去掉标题栏 -->
14
61 <activity
62 android:name=".TextViewActivity"
63 android:exported="false" />
64 <activity
65 android:name=".ButtonActivity3"
66 android:exported="false" />
67 <activity
68 android:name=".MainActivity"
69 android:exported="true">
70 <!-- android:theme="@style/Theme.AppCompat.DayNight.NoActionBar" 这是去掉当前标题栏的意思 -->
71 <!-- android:label="Test" 设置当前标题栏的文字 -->
72 <!-- android:screenOrientation="portrait" 这个就是手机屏幕默认竖屏,不设置也可以 -->
73 <!-- android:screenOrientation="landscape" 这样就是横屏了 -->
74 <intent-filter>
75 <action android:name="android.intent.action.MAIN" />
76
77 <category android:name="android.intent.category.LAUNCHER" />
78 </intent-filter>
79 <!--<category>标签下LAUNCHER意思就是默认启动的activity -->
80 </activity>
81 </application>
82
83 </manifest>
最新文章
- An error occurred while collecting items to be installed
- [css]当父元素的margin-top碰上子元素的margin-top
- C# 6.0可能的新特性
- #define 中#和##的作用
- POJ 3264 Balanced Lineup -- RMQ或线段树
- hive笔记(自学整理的)
- border 变形计
- Javascript Regexp match and replace
- 使用oracle写if判断
- EF经验分享_jimmyzzc
- SRF之数据验证
- Kafka源码中的Producer Record定义
- Word添加新编号
- 流动python - 什么是魔术方法(magic method)
- Python获取区域面积
- 使用zabbix监控nginx的活动连接数
- 使用FileReader接口读取文件内容
- 浏览器跨域请求之credentials
- python中参数传递之位置传递、关键字传递、包裹传递与解包裹
- Hadoop化繁为简(一)-从安装Linux到搭建集群环境
热门文章
- python项目中 ,open() 方法, 如何读取json文件的位置。
- Java当中“+=”和“=+”的区别
- Redis哨兵模式高可用解决方案
- 为什么内部类调用的外部变量必须是final修饰的?
- 记项目中ES6+gulp+angularjs里的问题
- 常用获取inflate的写法
- uniapp 使用iconfont图标
- NFS共享存储服务 (如果厌倦了外面的生活,那就来我身边吧,帮我插秧)
- 手动加载nacos自定义配置到全局变量中
- Linux运行级别及解释