COSMOSRKSI
방명록 RSS 태그 글쓰기 관리자
 
안드로이드 스튜디오 다이얼로그 튕김 해결방법
Program language/Android 2021-10-23 14:18:03

final AlertDialog.Builder builder = new AlertDialog.Builder(getApplicationContext()); 을

 

final AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this); 로 바꾼다.

 

그래도 동작하지 않는다면 final을 지우고 다시 빌드

 

 

 

 

 

 

 

출처: https://stackoverflow.com/questions/21814825/you-need-to-use-a-theme-appcompat-theme-or-descendant-with-this-activity

 

You need to use a Theme.AppCompat theme (or descendant) with this activity

Android Studio 0.4.5 Android documentation for creating custom dialog boxes: http://developer.android.com/guide/topics/ui/dialogs.html If you want a custom dialog, you can instead display an Acti...

stackoverflow.com

 

 




이 사이트에는
넥슨코리아에서 제공한 넥슨 Lv.1 고딕 Regular체,
카페24가 제작한 아네모네체,
Cadson Demak가 디자인한 Kanit체,
Sandoll이 디자인한 나눔고딕체가
적용되어 있습니다.
멋진 폰트를 무료로 제공해주셔서 감사합니다.

Copyleft ⓒ bskyvision (블루스킨 v1.2)