Hello, dudes
I have a problem with LinearLayout and want to solve it with API properties and not with a specialized solution:
- My main.xml has a LinearLayout (named topLayout and orientation=vertical) inside a root LinearLayout;
- In java code I did topLayot.setGravity(Gravity.RIGHT), because I want all ImageView inside topLayout at right side like following picture:
My problems is there. Instead of LinearLayout insert my imageView0, imageView1 and imageView2 in shown order (index 0 at right of the list), the imageView0 is always at the left of the list, like shown below:
The Android API has solution for my issue?? Or have I to developer voodoo logic to solve it?
rgs
I have a problem with LinearLayout and want to solve it with API properties and not with a specialized solution:
- My main.xml has a LinearLayout (named topLayout and orientation=vertical) inside a root LinearLayout;
- In java code I did topLayot.setGravity(Gravity.RIGHT), because I want all ImageView inside topLayout at right side like following picture:
My problems is there. Instead of LinearLayout insert my imageView0, imageView1 and imageView2 in shown order (index 0 at right of the list), the imageView0 is always at the left of the list, like shown below:
The Android API has solution for my issue?? Or have I to developer voodoo logic to solve it?
rgs