I want the message text within my dialog box to be center aligned.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create your own TextView object and then supply it to popup builder as View:
You can control all other text parameters (style, color, size …). To control margins you may programatically create LinearLayout, set LayoutParams, and then put TextView into it.