현재 웹뷰에서 특정 버튼 누를시 아래와 같이 새창을 띄우게 하고 싶습니다.이런창을 어떻게 띄워야 할지 잘 모르겠습니다.새창에서 닫으면 예전 웹뷰로 돌아가게 하고.. 새창을 띄우고 간단하게 입력 하는 폼을 만들고 싶어서 그렇습니다.
Activity를 Dialog 형태로 띄우면 대것군요 백그라운드를 알파값을 줘서 약간 회색빛으로 주면 뒤에 있는 Activity가 보일것이고.Dialog 형태로 튀어나온 Activity는 개발자분 입맛에 맞춰서 layout을 짜주시면 대것습니다.방법은 Manifest에<activity android:screenOrientation="portrait" android:theme="@android:style/Theme.Dialog" android:name=".엑티비티명" />해주신 후,자바단에 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first){ super.onApplyThemeResource(theme, resid, first); theme.applyStyle(style.Theme_Panel, true); }요거 추가해주시면 댑니다요~
감사합니다.한번 해보겠습니다.
로그인 유지
Activity를 Dialog 형태로 띄우면 대것군요 백그라운드를 알파값을 줘서 약간 회색빛으로 주면 뒤에 있는 Activity가 보일것이고.
Dialog 형태로 튀어나온 Activity는 개발자분 입맛에 맞춰서 layout을 짜주시면 대것습니다.
방법은 Manifest에
<activity android:screenOrientation="portrait" android:theme="@android:style/Theme.Dialog" android:name=".엑티비티명" />
해주신 후,
자바단에
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first){
super.onApplyThemeResource(theme, resid, first);
theme.applyStyle(style.Theme_Panel, true);
}
요거 추가해주시면 댑니다요~