Hi,
How can I center ImageButton in the this LinearLayout
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/main"
>
ImageButton
<ImageButton android:id="@+id/btnBut"
android:background="@drawable/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
I don't want to use fixed sizes.
Thanks