されている
http://developer.android.com/reference/android/R.style.html
android:theme="@android:style/Theme.Dialog"
を
AndroidManifest.xml
に追加
Sudoku/AndroidManifest.xml
- <!--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 <brbr=""> android:icon="@drawable/icon"
- android:label="@string/app_name">
- <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">
- </category></action></intent-filter>
- <activity <brbr=""> android:name=".About"
- android:label="@string/about_title"
- android:theme="@android:style/Theme.Dialog">
- </activity>
- </activity
- </application>
- <uses-sdk android:minsdkversion="3">
- </uses-sdk></manifest

サブクラス化して、デフォルト値をオーバーライドすることもできる。
また、
カスタムテーマは res/values/styles.xml で定義できる
0 件のコメント:
コメントを投稿