i created some buttons in an xml layout. They get their names from string resources in 3 different languages. Therefore the buttons aren’t always in the correct alphabetical order. So there’s my question. What can i do to make the buttons being sorted alphabetically in all 3 languages?
Sincerely
John
Assuming the three buttons are in a LinearLayout, you can subclass LinearLayout and override the getChildAt() method to return the Views in the order you want (which you could work out once the Strings are loaded).
E.g.