I feel like this must have been asked before, but I can’t find it.
I want to have a LinearLayout such that everything aligns to the right as well as to the bottom.
I’ve tried:
android:gravity="right | bottom"
android:gravity="right + bottom"
android:gravity="right & bottom"
android:gravity="right, bottom"
android:gravity="right bottom"
All of these produce
Error: String types not allowed (at 'gravity' with value 'right, bottom').
I suppose I could use margins on the sub-elements, but I’d rather not.
Grah. It was the spaces. Correct syntax is
I wish Eclipse would have suggestions like that if it sees you’re entering a string. Like