標籤:android style blog http color java io ar
<?xml version="1.0" encoding="utf-8"?><!-- package:用來標識這個應用的,就像人的社會安全號碼 android:versionCode:系統內部的版本號碼,使用者看不見這個 android:versionName:使用者可以看見的版本號碼--><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.dddddds" android:versionCode="1" android:versionName="1.0"> <!-- android:minSdkVersion:系統允許的最小版本號碼 android:maxSdkVersion:系統允許的最大版本號碼(一般安卓都是向下相容的,反正我從來不設定這個) android:targetSdkVersion:如果大於含這個版本以上的,那麼將採用sdk新的特性,但低於這個版本的sdk, 還是要手動編寫代碼的,不然還是會報錯,因此發布的時候必須從minSdkVersion到targetSdkVersion的版本都進行測試 --> <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19" /> <!-- android:label:App應用程式名稱 android:icon:應用表徵圖 android:theme:樣式 android:allowBackup:這個玩意兒估計只有用google賬戶才能備份吧,哪位大俠解釋下 --> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <!-- android:name:表單唯一的名字,一般就是activity的類名 android:label:用來顯示的名字 --> <activity android:name="com.example.dddddds.MainActivity" android:label="@string/app_name" > <intent-filter> <!-- 告訴系統,這個是APP的入口,類似java裡的main --> <action android:name="android.intent.action.MAIN" /> <!-- 將這個程式顯示到程式列表,如果不加安裝後是看不到表徵圖的,類似windows的菜單,不加這個就看不到菜單 --> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest>