Activity를 Dialog로 띄우기 안드로이드개발Tip

AndroidManifest.xml 설정

<activity android:name=".DialogTest"
             android:theme="@android:style/Theme.Dialog">
</activity>

타이틀 영역 없애기

requestWindowFeature(Window.FEATURE_NO_TITLE);

Dialog 배경을 투명하게 처리

protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first){
    super.onApplyThemeResource(theme,resid,first);
    theme.applyStyle(style.Theme_Panel,true);
}


트랙백

이 글과 관련된 글 쓰기 (트랙백 보내기)
TrackbackURL : http://uknowapps.egloos.com/tb/1622859 [도움말]

덧글

댓글 입력 영역

애드센스(468*60)



애드센스(160*600)