AlertDialog is a subclass of Dialog that can display one, two or three buttons. If you only want to display a String in this dialog box, use the setMessage() method.
The AlertDialog from android.app package displays differently on different Android OS Versions.
The Android V7 Appcompat library pro...