이동을 호출하기 전에 setTheme(..)
를 사용하여 시도 할 수 있습니다 :
모든 응용 프로그램에 대한 첫 번째 설정된 테마 :
<application
android:name=".MyApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" > <!--Your theme-->
...
당신은 모든에 대한 테마를 설정할 수 있습니다 활동
<activity
android:name=".activities.FirsActivity"
android:label="@string/title_activity_firsactivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Holo.Light.NoActionBar"> <!--Your theme for this activity-->
</activity>
<activity
android:name=".activities.SecondActivity"
android:label="@string/title_activity_secondactivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Holo.Light.NoActionBar"> <!--Your theme for this activity-->
</activity>
그리고 것은 activity.xml과의 매니페스트
가능한 중복처럼 같은 주제를 설정 메뉴 표시 줄에로 이동 [프로그램 응용 프로그램 전체 테마를 전환?] (http://stackoverflow.com/questions/ 4663752/switching-application-wide-theme-programmatically) – 2Dee