Advertisement
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"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="#ffffff"
- tools:context="com.example.orpuwupetup.helloandroid.MainActivity">
- <ImageView
- android:id="@+id/back"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="180dp"
- android:layout_alignTop="@id/img"
- android:src="@mipmap/back" />
- <View
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_alignBottom="@id/back"
- android:layout_marginBottom="70dp"
- android:background="#ffffff" />
- <ImageView
- android:id="@+id/img"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_alignParentTop="true"
- android:src="@drawable/udac" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/img"
- android:orientation="vertical">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="20dp"
- android:layout_marginLeft="20dp"
- android:layout_marginStart="20dp"
- android:text="Udacity"
- android:textSize="22sp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginStart="20dp"
- android:text="650-555-5555"
- android:textSize="18sp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginStart="20dp"
- android:text="www.udacity.com"
- android:textSize="18sp"
- />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginStart="20dp"
- android:text="2465 Latham St, Mountain View, CA 94043"
- android:textSize="18sp"
- />
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement