Android Story

[ Android ] 상태바, 타이틀바 제거하기

WhiteDuck 2016. 8. 17. 13:41


[ manifest.xml 에서 ]



 - 타이틀바


<activity
android:name=".LoadingActivity"
android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>


- 타이틀바, 상태바



<activity
android:name=".LoadingActivity"
android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>


반응형