Advertisement
Guest User

Untitled

a guest
Dec 21st, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.23 KB | None | 0 0
  1. /*
  2. activity_main.xml
  3. */
  4.  
  5. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  6.    xmlns:tools="http://schemas.android.com/tools"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    tools:context=".MainActivity" >
  10.  
  11.     <Button
  12.        android:id="@+id/button1"
  13.        android:layout_width="wrap_content"
  14.        android:layout_height="wrap_content"
  15.        android:layout_alignParentLeft="true"
  16.        android:layout_alignParentTop="true"
  17.        android:layout_marginLeft="106dp"
  18.        android:layout_marginTop="158dp"
  19.        android:text="vai 2" />
  20.  
  21. </RelativeLayout>
  22.  
  23. /*
  24. janela2.xml
  25. */
  26. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  27.    xmlns:tools="http://schemas.android.com/tools"
  28.    android:layout_width="match_parent"
  29.    android:layout_height="match_parent"
  30.    tools:context=".MainActivity" >
  31.  
  32.     <Button
  33.        android:id="@+id/button2"
  34.        android:layout_width="wrap_content"
  35.        android:layout_height="wrap_content"
  36.        android:layout_alignParentRight="true"
  37.        android:layout_centerVertical="true"
  38.        android:layout_marginRight="103dp"
  39.        android:text="vai janela 1" />
  40.  
  41. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement