Set the title displayed in an AlertDialog.
Returns: This Builder object to allow for chaining of calls to set methods
1. Create an AlertDialog with Supplied Arguments
2. After your AlertDialog.Builder is instantiated in step 1, add the following line to set the title of the AlertDialog.
3. Compile and run!
Next Recommended Article: How to Set the AlertDialog.Builder Non-Cancelable
Resources:
http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setTitle(java.lang.CharSequence)