<?xml version="1.0" encoding="utf-8" ?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.example.sudoku" android:versionCode="1" android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name=".Sudoku" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".About" android:label="@string/about_title" android:theme="@android:style/Theme.Dialog" />
<activity android:name=".Prefs" android:label="@string/settings_title" />
</application>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="8" />
</manifest>
application etiketinin alabildiği özellikler:
http://developer.android.com/guide/topics/manifest/application-element.html
Yukarıdaki manifest.xml içinde dikkat edilmesi gereken özellik"android:debuggable"
Whether or not the application can be debugged, even when running on a device in user mode — "true" if it can be, and "false" if not. The default value is "false".
Diğer dikkat edilmesi gereken ise aktivitenin (yani gösterilecek aktif edilecek aktivitenin) android'in varsayılan teması ile şenlenmesi:
<activity android:name=".about" android:label="Programa dair :)"></activity>
<activity android:name=".about" android:label="Programa dair :)" android:theme="@android:style/Theme.Dialog" ></activity>
Hiç yorum yok:
Yorum Gönder