Activity设置全屏以及Android获得屏幕的宽和高
2010-11-05 00:56:37 来源:WEB开发网3. package="org.dw.enotes"
4. android:versionCode="1"
5. android:versionName="1.0">
6. < application android:icon="@drawable/icon"
7. android:label="@string/app_name"
8. < !-- 看这里 -->
9. android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
10.
11. < activity
12. android:name=".activity.Hello"
13. android:label="@string/app_name"
14. < !-- 看这里 -->
15. android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
16. < intent-filter>
17. < action android:name="android.intent.action.MAIN" />
18. < category android:name="android.intent.category.LAUNCHER" />
19. < /intent-filter>
20. < /activity>
21. < /application>
22. < uses-sdk android:minSdkVersion="4" />
23. < /manifest>
< ?xml version="1.0" encoding="utf-8"?>
< manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.dw.enotes"
android:versionCode="1"
android:versionName="1.0">
< application android:icon="@drawable/icon"
android:label="@string/app_name"
< !-- 看这里 -->
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
< activity
android:name=".activity.Hello"
android:label="@string/app_name"
< !-- 看这里 -->
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
< intent-filter>
< action android:name="android.intent.action.MAIN" />
< category android:name="android.intent.category.LAUNCHER" />
< /intent-filter>
< /activity>
< /application>
更多精彩
赞助商链接