1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright 2013 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17 18 19 20<manifest 21 xmlns:android="http://schemas.android.com/apk/res/android" 22 package="com.example.android.networkconnect" 23 android:versionCode="1" 24 android:versionName="1.0"> 25 26 <!-- Min/target SDK versions (<uses-sdk>) managed by build.gradle --> 27 <uses-permission android:name="android.permission.INTERNET" /> 28 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 29 30 <application 31 android:label="@string/app_name" 32 android:icon="@drawable/ic_launcher" 33 android:theme="@style/Theme.Sample" 34 android:allowBackup="true" 35 android:networkSecurityConfig="@xml/network_security_config"> 36 <activity 37 android:name="com.example.android.networkconnect.MainActivity" 38 android:label="@string/app_name" 39 android:uiOptions="splitActionBarWhenNarrow"> 40 41 <intent-filter> 42 <action android:name="android.intent.action.MAIN" /> 43 <category android:name="android.intent.category.LAUNCHER" /> 44 </intent-filter> 45 </activity> 46 </application> 47</manifest> 48