Advertisement
rachmadi

activity_register.xml

Jul 14th, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.68 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView
  3.    xmlns:android="http://schemas.android.com/apk/res/android"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="match_parent">
  6.  
  7.     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8.        android:layout_width="match_parent"
  9.        android:layout_height="match_parent"
  10.        android:paddingBottom="@dimen/activity_vertical_margin"
  11.        android:paddingLeft="@dimen/activity_horizontal_margin"
  12.        android:orientation="vertical"
  13.        android:paddingRight="@dimen/activity_horizontal_margin"
  14.        android:paddingTop="@dimen/activity_vertical_margin">
  15.  
  16.         <EditText
  17.            android:layout_width="match_parent"
  18.            android:layout_height="wrap_content"
  19.            android:hint="Username"
  20.            android:layout_marginTop="10dp"
  21.            android:id="@+id/etUsername"/>
  22.         <EditText
  23.            android:layout_width="match_parent"
  24.            android:layout_height="wrap_content"
  25.            android:hint="Password"
  26.            android:inputType="textPassword"
  27.            android:layout_marginTop="5dp"
  28.            android:id="@+id/etPassword"/>
  29.         <EditText
  30.            android:layout_width="match_parent"
  31.            android:layout_height="wrap_content"
  32.            android:hint="Name"
  33.            android:layout_marginTop="5dp"
  34.            android:id="@+id/etName"/>
  35.         <EditText
  36.            android:layout_width="match_parent"
  37.            android:layout_height="wrap_content"
  38.            android:hint="Email"
  39.            android:layout_marginTop="5dp"
  40.            android:id="@+id/etEmail"/>
  41.  
  42.     </LinearLayout>
  43. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement