2

enter image description here

is it possible if change the direction when I add view in LinearLayout to the left?

4

1 回答 1

3

Try the layoutDirection attribute. In your LinearLayout:

android:layoutDirection="rtl"

"rtl" in this case means "right to left."

The implementation for what you're trying to do would consist of one vertical LinearLayout with two horizontal LinearLayouts as its children.

于 2013-10-04T23:59:20.980 回答