Advertisement
Guest User

android.xml

a guest
Sep 20th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.34 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.   android:layout_width="fill_parent"
  4.   android:layout_height="fill_parent"
  5.   android:orientation="vertical" >
  6.  
  7.     <TextView
  8.       android:layout_width="fill_parent"
  9.       android:layout_height="wrap_content"
  10.       android:text="Halaman Login"
  11.       android:layout_margin="10dp" />
  12.  
  13.     <TextView
  14.       android:id="@+id/textView1"
  15.       android:layout_width="wrap_content"
  16.       android:layout_height="wrap_content"
  17.       android:text="Username" />
  18.  
  19.     <EditText
  20.       android:id="@+id/editText1"
  21.       android:layout_width="match_parent"
  22.       android:layout_height="wrap_content" >
  23.  
  24.         <requestFocus />
  25.     </EditText>
  26.  
  27.     <TextView
  28.       android:id="@+id/Password"
  29.       android:layout_width="wrap_content"
  30.       android:layout_height="wrap_content"
  31.       android:text="Password" />
  32.  
  33.     <EditText
  34.       android:id="@+id/editText2"
  35.       android:layout_width="match_parent"
  36.       android:layout_height="wrap_content"
  37.       android:inputType="textPassword" />
  38.  
  39.     <Button
  40.       android:id="@+id/button1"
  41.       android:layout_width="wrap_content"
  42.       android:layout_height="wrap_content"
  43.       android:text="Login"
  44.       android:onClick="aksiLogin" />
  45.  
  46. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement