Android Alert Dialog Background Issue API 11+

后端 未结 3 1332
时光取名叫无心
时光取名叫无心 2020-12-29 09:04

I create a AlertDialog with the code below. For some reason I\'m getting an extra background (see pic) on Honeycomb and above. The code crashes

3条回答
  •  再見小時候
    2020-12-29 09:57

    You can try to use new AlertDialog.Builder(new ContextThemeWrapper(this, R.style.JumpDialog)) instead of new AlertDialog.Builder(this, R.style.JumpDialog)

提交回复
热议问题