Layout help required for Android Eclipse
Posted on 2011-03-02
I am new to Android development and have been trying to implement a particular layout using Eclipse without any joy.
What I would like to implement are two toolbars at the top and bottom of the screen and a main panel in the middle.
The bottom toolbar has four buttons with images which should be spaced evenly although the text length of each button will vary.
I thought about implementing by using a table layout with three rows. In the third row, I have a LinearLayout and my four buttons.
Firstly is this the best way to get the layout that I want.
Secondly I can't seem to set the buttons to be of equal size and fill the screen i.e. each button takes up a quarter of the width.