Ask Your Question
1

Is there an equivalent of the CSS property "float:right" in LinearLayout on android?

asked 2021-11-04 11:00:00 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-10-16 20:00:00 +0000

ladyg gravatar image

No, there is no equivalent of the CSS property "float:right" in LinearLayout on Android. However, you can achieve a similar effect using the android:gravity attribute and setting it to "right".

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-04 11:00:00 +0000

Seen: 11 times

Last updated: Oct 16 '22