Advertisement
Orpuwupetup

Untitled

Nov 16th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.75 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:tools="http://schemas.android.com/tools"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent"
  6.    android:background="#ffffff"
  7.    tools:context="com.example.orpuwupetup.helloandroid.MainActivity">
  8.  
  9.  
  10.     <ImageView
  11.        android:id="@+id/back"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:layout_marginTop="180dp"
  15.        android:layout_alignTop="@id/img"
  16.        android:src="@mipmap/back" />
  17.  
  18.     <View
  19.        android:layout_width="match_parent"
  20.        android:layout_height="40dp"
  21.        android:layout_alignBottom="@id/back"
  22.        android:layout_marginBottom="70dp"
  23.        android:background="#ffffff" />
  24.  
  25.     <ImageView
  26.        android:id="@+id/img"
  27.        android:layout_width="match_parent"
  28.        android:layout_height="wrap_content"
  29.        android:layout_alignParentLeft="true"
  30.        android:layout_alignParentStart="true"
  31.        android:layout_alignParentTop="true"
  32.        android:src="@drawable/udac" />
  33.  
  34.  
  35.     <LinearLayout
  36.        android:layout_width="match_parent"
  37.        android:layout_height="wrap_content"
  38.        android:layout_below="@id/img"
  39.        android:orientation="vertical">
  40.  
  41.         <TextView
  42.            android:layout_width="wrap_content"
  43.            android:layout_height="wrap_content"
  44.            android:layout_marginBottom="20dp"
  45.            android:layout_marginLeft="20dp"
  46.            android:layout_marginStart="20dp"
  47.            android:text="Udacity"
  48.            android:textSize="22sp"
  49.  
  50.            />
  51.  
  52.         <TextView
  53.            android:layout_width="wrap_content"
  54.            android:layout_height="wrap_content"
  55.            android:layout_marginBottom="10dp"
  56.            android:layout_marginLeft="20dp"
  57.            android:layout_marginStart="20dp"
  58.            android:text="650-555-5555"
  59.            android:textSize="18sp"
  60.  
  61.            />
  62.  
  63.         <TextView
  64.            android:layout_width="wrap_content"
  65.            android:layout_height="wrap_content"
  66.            android:layout_marginBottom="10dp"
  67.            android:layout_marginLeft="20dp"
  68.            android:layout_marginStart="20dp"
  69.            android:text="www.udacity.com"
  70.            android:textSize="18sp"
  71.  
  72.            />
  73.  
  74.         <TextView
  75.            android:layout_width="wrap_content"
  76.            android:layout_height="wrap_content"
  77.            android:layout_marginLeft="20dp"
  78.            android:layout_marginStart="20dp"
  79.            android:text="2465 Latham St, Mountain View, CA 94043"
  80.            android:textSize="18sp"
  81.  
  82.            />
  83.     </LinearLayout>
  84. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement