Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.27 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:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:padding="16dp"
  8.    tools:context=".DetailActivity">
  9.  
  10.     <TextView
  11.        android:id="@+id/tv_nama"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:text="Nama : " />
  15.  
  16.     <TextView
  17.        android:id="@+id/textviewNama"
  18.        android:layout_width="wrap_content"
  19.        android:layout_height="wrap_content"
  20.        android:layout_below="@id/tv_nama"
  21.        tools:text="Siswa 1" />
  22.  
  23.     <TextView
  24.        android:id="@+id/tv_email"
  25.        android:layout_width="wrap_content"
  26.        android:layout_height="wrap_content"
  27.        android:layout_below="@id/textviewNama"
  28.        android:layout_marginTop="16dp"
  29.        android:text="Email : " />
  30.  
  31.     <TextView
  32.        android:id="@+id/textviewEmail"
  33.        android:layout_width="wrap_content"
  34.        android:layout_height="wrap_content"
  35.        android:layout_below="@id/tv_email"
  36.        tools:text="siswa1@gmail.com" />
  37.  
  38. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement