Guest User

Untitled

a guest
Mar 29th, 2013
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.45 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:background="#da4040" >
  6.  
  7.     <TextView
  8.        android:id="@+id/tvDisplay"
  9.        android:layout_width="fill_parent"
  10.        android:layout_height="wrap_content"
  11.        android:layout_alignParentLeft="true"
  12.        android:layout_alignParentTop="true"
  13.        android:layout_marginTop="20dp"
  14.        android:gravity="center"
  15.        android:text="@string/cero"
  16.        android:textColor="#fff"
  17.        android:textSize="50sp" />
  18.  
  19.     <Button
  20.        android:id="@+id/bAdd"
  21.        android:layout_width="250sp"
  22.        android:layout_height="60dip"
  23.        android:layout_above="@+id/bSub"
  24.        android:layout_alignLeft="@+id/bSub"
  25.        android:layout_marginBottom="26dp"
  26.        android:background="#a43030"
  27.        android:text="@string/plus"
  28.        android:textColor="#fff"
  29.        android:textSize="20sp" />
  30.  
  31.     <Button
  32.        android:id="@+id/bSub"
  33.        android:layout_width="250sp"
  34.        android:layout_height="60dip"
  35.        android:layout_alignParentBottom="true"
  36.        android:layout_centerHorizontal="true"
  37.        android:layout_marginBottom="15dp"
  38.        android:background="#a43030"
  39.        android:text="@string/minus"
  40.        android:textColor="#fff"
  41.        android:textSize="20sp" />
  42.    
  43. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment