Possible Duplicate:
android – layout – Resize ImageButtons?
For example: How can i make a 10 x 10 Table Layout (100% horizontal and 100% vertical). And e.g. in row 2 and column 2 is a button. The button should fill the area.
I searched so long, too many peoples have problems with layouts.
You should create a LinearLayout with
layout_width=fill_parent,layout_height=fill_parent, andorientation=vertical.Inside it, create 10 LinearLayouts with
layout_width=fill_parent,layout_height=0dp,layout_weight=1, andorientation=horizontal.Inside each of these 10 LinearLayouts, create your views (whatever your views are -i.e. Buttons or whatever) with
layout_width=0dp,layout_height=fill_parent, andlayout_weight=1.