Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#da4040" >
- <TextView
- android:id="@+id/tvDisplay"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_marginTop="20dp"
- android:gravity="center"
- android:text="@string/cero"
- android:textColor="#fff"
- android:textSize="50sp" />
- <Button
- android:id="@+id/bAdd"
- android:layout_width="250sp"
- android:layout_height="60dip"
- android:layout_above="@+id/bSub"
- android:layout_alignLeft="@+id/bSub"
- android:layout_marginBottom="26dp"
- android:background="#a43030"
- android:text="@string/plus"
- android:textColor="#fff"
- android:textSize="20sp" />
- <Button
- android:id="@+id/bSub"
- android:layout_width="250sp"
- android:layout_height="60dip"
- android:layout_alignParentBottom="true"
- android:layout_centerHorizontal="true"
- android:layout_marginBottom="15dp"
- android:background="#a43030"
- android:text="@string/minus"
- android:textColor="#fff"
- android:textSize="20sp" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment