Advertisement
Guest User

Untitled

a guest
Oct 6th, 2013
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.15 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent"
  5.    android:gravity="center" >
  6.  
  7.     <LinearLayout
  8.        android:id="@+id/linearLayout1"
  9.        android:layout_width="wrap_content"
  10.        android:layout_height="wrap_content"
  11.        android:layout_centerHorizontal="true" >
  12.  
  13.         <ImageButton
  14.            android:id="@+id/button_A"
  15.            android:layout_width="wrap_content"
  16.            android:layout_height="wrap_content"
  17.            android:layout_marginTop="25dp"
  18.            android:background="@drawable/my_border"
  19.            android:src="@drawable/categories" />
  20.  
  21.         <ImageButton
  22.            android:id="@+id/button_B"
  23.            android:layout_width="wrap_content"
  24.            android:layout_height="wrap_content"
  25.            android:layout_marginLeft="34dp"
  26.            android:layout_marginTop="25dp"
  27.            android:background="@drawable/my_border"
  28.            android:src="@drawable/shopping_cart" />
  29.     </LinearLayout>
  30.    
  31.     <ImageButton
  32.        android:id="@+id/button_C"
  33.        android:layout_width="wrap_content"
  34.        android:layout_height="wrap_content"
  35.        android:layout_alignLeft="@+id/linearLayout1"
  36.        android:layout_below="@+id/linearLayout1"
  37.        android:layout_marginTop="25dp"
  38.        android:background="@drawable/my_border"
  39.        android:src="@drawable/customers" />
  40.    
  41.     <ImageButton
  42.        android:id="@+id/button_D"
  43.        android:layout_width="wrap_content"
  44.        android:layout_height="wrap_content"
  45.        android:layout_below="@id/linearLayout1"
  46.        android:layout_alignRight="@+id/linearLayout1"
  47.        android:background="@drawable/my_border"
  48.        android:layout_marginTop="25dp"
  49.        android:src="@drawable/bag" />
  50.    
  51.     <TextView
  52.        android:id="@+id/txt"
  53.        android:layout_width="fill_parent"
  54.        android:layout_height="wrap_content"
  55.        android:layout_alignParentBottom="true"
  56.        android:gravity="center"
  57.        android:text="Text here!!" />
  58.  
  59. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement