Re: [android-developers] Button organisation

2010-10-19 Thread TreKing
On Tue, Oct 19, 2010 at 7:11 AM, Laurent Lugon Moulin < laurent.lu...@gmail.com> wrote: > Anyone can help me ? Also look at the "weight" or "layout_weight" attribute, learn it, and love it. - TreKing

Re: [android-developers] Button organisation

2010-10-19 Thread Mark Murphy
Step #1: Get rid of the LinearLayout, since you do not appear to need it Step #2: Get rid of the android:orientation="horizontal" from the RelativeLayout, since orientation is not a valid attribute for RelativeLayout Step #3: Give your first Button an android:id value, so we can refer to it from

[android-developers] Button organisation

2010-10-19 Thread Laurent Lugon Moulin
Hi all, I want to put three buttons in one single line with the left and the right button at a fixed size, and the middle button wich take the distance between the two buttons. My application will work in different device, so I can't fix the size, it has to be adaptative... Here is my current cod