Advertisement
kemkriszt

activity_main.xml

Oct 28th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.02 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="match_parent"
  4.    android:layout_height="match_parent"
  5.    android:paddingBottom="@dimen/activity_vertical_margin"
  6.    android:paddingLeft="@dimen/activity_horizontal_margin"
  7.    android:paddingRight="@dimen/activity_horizontal_margin"
  8.    android:paddingTop="@dimen/activity_vertical_margin"
  9.    tools:context=".MainActivity" >
  10.  
  11.     <TextView
  12.        android:id="@+id/t1"
  13.        android:layout_width="match_parent"
  14.        android:layout_height="wrap_content"
  15.        android:text="Activity2"
  16.        android:textSize="50sp" />
  17.  
  18.     <TextView
  19.        android:id="@+id/t2"
  20.        android:layout_width="match_parent"
  21.        android:layout_height="wrap_content"
  22.        android:layout_alignLeft="@+id/t1"
  23.        android:layout_below="@+id/t1"
  24.        android:layout_marginTop="18dp"
  25.        android:text="Exit"
  26.        android:textSize="50dp" />
  27.  
  28. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement