안드로이드 개발 질문/답변
(글 수 45,052)
현재 액티비티에서 다른 액티비티를 다이얼로그 형식으로
띄우고 싶습니다.
현재 성공은 했은데.. 액티비티가 하나가 아니라 여러개가 뜨네요...
Intent intent = new Intent(TopTab.context, Width.class);
TopTab.context.startActivity(intent);
이렇게 불러 왔구요...
액티비티는 매니패스트에서 다이얼로그 테마로 설정 하였습니다..
<activity android:name=".Width" android:label="@string/app_name"
android:theme="@android:style/Theme.Dialog">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
액티비티가 하나가 아니라.. 거의 랜덤하게 3개 떳다가. 4개 떳다가, 5개 떳다가 이러네요..
이거 방법이 있을까요?