I feel that this must have been asked before, but I cannot find it.
I want to have LinearLayout so that everything is aligned both on the right and bottom.
I tried:
android:gravity="right | bottom" android:gravity="right + bottom" android:gravity="right & bottom" android:gravity="right, bottom" android:gravity="right bottom"
They all produce
Error: String types not allowed (at 'gravity' with value 'right, bottom').
I suppose I could use fields for subelements, but I would prefer not to.
android android-layout android-xml android-linearlayout
Malcolm ocean
source share