Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:gravity="center" >
- <LinearLayout
- android:id="@+id/linearLayout1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true" >
- <ImageButton
- android:id="@+id/button_A"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="25dp"
- android:background="@drawable/my_border"
- android:src="@drawable/categories" />
- <ImageButton
- android:id="@+id/button_B"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="34dp"
- android:layout_marginTop="25dp"
- android:background="@drawable/my_border"
- android:src="@drawable/shopping_cart" />
- </LinearLayout>
- <ImageButton
- android:id="@+id/button_C"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/linearLayout1"
- android:layout_below="@+id/linearLayout1"
- android:layout_marginTop="25dp"
- android:background="@drawable/my_border"
- android:src="@drawable/customers" />
- <ImageButton
- android:id="@+id/button_D"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/linearLayout1"
- android:layout_alignRight="@+id/linearLayout1"
- android:background="@drawable/my_border"
- android:layout_marginTop="25dp"
- android:src="@drawable/bag" />
- <TextView
- android:id="@+id/txt"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:gravity="center"
- android:text="Text here!!" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement