I was trying three buttons to keep aligned using Table Row, But the middle one remains in air, any idea what am i missing ?
android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="bottom" android:stretchColumns="*"> android:layout_height="wrap_content" android:layout_width="fill_parent" android:gravity="center_horizontal"> android:id="@+id/btnManualLookup" android:text="ABC" android:layout_weight="1" android:textColor="#000000" android:padding="20dip" android:gravity="center"/> android:id="@+id/downloadcerti" android:text="DEF" android:layout_weight="1" android:textColor="#000000" android:padding="20dip" android:gravity="center"/> android:id="@+id/settingsbutton" android:text="GHI" android:layout_weight="1" android:textColor="#000000" android:padding="20dip" android:gravity="center"/>
Couldn't attach snapshot but giving some hint below by drawing. The first and third button are perfect but middle one remains little bit up from bottom. Any idea ?
********************************** * * * ABC DEF GHI * * ************ * ************ ************
No comments:
Post a Comment