The reason is because when using TableLayout
, each TableRow
will have same size for each same column. Since the ImageView
and Button
are both on column 0, everything that affects Button
's width will also affect ImageView
's width.
If you permit the Button
to span over many columns, add android:layout_span="2"
to the Button
. Else, use different layout, such as LinearLayout
or RelativeLayout
.