加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
AndroidManifest.xml 4.73 KB
一键复制 编辑 原始数据 按行查看 历史
way 提交于 2014-08-09 22:39 . 修改switch默认样式
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.way.xx"
android:versionCode="3"
android:versionName="@string/app_version" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.INTERNET" />
<!-- 此权限用来显示反馈崩溃信息对话框 -->
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- 判断堆栈中是否有本应用的权限 -->
<uses-permission android:name="android.permission.GET_TASKS" />
<application
android:name="com.way.app.XXApp"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Default.NoTitleBar" >
<activity
android:name="com.way.activity.SplashActivity"
android:screenOrientation="portrait"
android:theme="@style/Default.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.way.activity.LoginActivity"
android:screenOrientation="portrait"
android:theme="@style/Default.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
<intent-filter>
<action android:name="com.way.xx.action.LOGIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.way.activity.MainActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/Default.NoTitleBar"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" >
</activity>
<activity
android:name="com.way.activity.ChatActivity"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/Default.SwipeBack.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
<intent-filter>
<action android:name="com.way.xx.action.CHAT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name="com.way.activity.AboutActivity"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/Default.SwipeBack.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<activity
android:name="com.way.activity.FeedBackActivity"
android:alwaysRetainTaskState="true"
android:configChanges="locale|keyboardHidden|orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/Default.SwipeBack.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize" >
</activity>
<service android:name="com.way.service.XXService" />
<receiver android:name="com.way.app.XXBroadcastReceiver" >
<intent-filter>
<!-- 开机广播 -->
<action android:name="android.intent.action.BOOT_COMPLETED" />
<!-- 关机广播 -->
<action android:name="android.intent.action.ACTION_SHUTDOWN" />
<!-- 网络连接变化的广播 -->
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
</intent-filter>
</receiver>
<provider
android:name="com.way.db.ChatProvider"
android:authorities="com.way.xx.provider.Chats" />
<provider
android:name="com.way.db.RosterProvider"
android:authorities="com.way.xx.provider.Roster" />
</application>
</manifest>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化