I need to place a TextView in my layout , the textView has to be left aligned and use 90% of the screen
I know about layout_weigth but is there a simple way to do this ?
it would be great to be able to set % margins (like in css margin : auto;)
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.
You can place a empy View with weight 2 and change the textview weight to 8
PD. place with or height to 0dp to expand by weight values