I’m trying to display in an horizontal layout some text on the left, then 2 images side by side on the right of the screen.
I can’t find a way to do that…
It should look like this:
[Some text——————-IMG1-IMG2]
Any idea ?
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.
Why do you not want to use a relative layout? That would be ideal for this situation. If you still want to use a linear layout, try using
android:paddingRight='X dipin the layout xml file for textview where X is an integer representing the desired padding.Edit:
I see you have decided to go with a relative layout. The below will help you out: