У меня есть 2 ImageButons, как это
![enter image description here](https://i.stack.imgur.com/cKEEb.png)
Я перепробовал все, чтобы он выровнялся по центру экрана. Будучи новичком в Android, я не имею никаких других подсказок о том, что делать. Как я могу достичь своей цели, выровняв эти 2 кнопки изображения в центре экрана
Это мой макет xml
<TableLayout android:id="@+id/TableLayout01"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:stretchColumns="1">
<TableRow android:id="@+id/TableRow01" android:layout_width="fill_parent"
android:layout_height="wrap_content">
<ImageButton android:id="@+id/btn_Show"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="Show" android:src="@drawable/cmd_result_show"
android:layout_gravity="right" android:background="@android:color/transparent" />
<ImageButton android:id="@+id/btn_showAll"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:text="Detailed Show" android:layout_gravity="center"
android:src="@drawable/cmd_result_details" android:background="@android:color/transparent" />
</TableRow>
</TableLayout>