Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Choose between android.app.AlertDialog and android.support.v7.app.AlertDialog

Is there any guideline, on when should we use android.app.AlertDialog, or when should we use android.support.v7.app.AlertDialog?

As, both work equally well for me, if my min SDK is android:minSdkVersion="14".

like image 565
Cheok Yan Cheng Avatar asked Nov 08 '22 17:11

Cheok Yan Cheng


1 Answers

android.app.AlertDialog has a visual issue. Using the android.support.v7.app.AlertDialog solves it.

like image 150
Ivan Avatar answered Nov 14 '22 21:11

Ivan