Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.91 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:orientation="vertical" android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7.  
  8. <ImageView
  9. android:id="@+id/imageView"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:src="@drawable/loginicon"
  13. app:srcCompat="@drawable/loginicon" />
  14.  
  15. <TextView
  16. android:id="@+id/textView"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:text="USERNAME"
  20. tools:textAlignment="center"
  21. tools:textSize="24sp" />
  22.  
  23. <EditText
  24. android:id="@+id/tusername"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:ems="10"
  28. android:inputType="textPersonName" />
  29.  
  30. <TextView
  31. android:id="@+id/textView2"
  32. android:layout_width="match_parent"
  33. android:layout_height="wrap_content"
  34. android:text="PASSWORD"
  35. tools:textAlignment="center"
  36. tools:textSize="24sp" />
  37.  
  38. <EditText
  39. android:id="@+id/tpassword"
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:ems="10"
  43. android:inputType="textPersonName" />
  44.  
  45. <Button
  46. android:id="@+id/btnlogin"
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:text="LOGIN" />
  50.  
  51. <TextView
  52. android:id="@+id/tmsg"
  53. android:layout_width="match_parent"
  54. android:layout_height="wrap_content"
  55. android:layout_marginTop="150dp"
  56. android:text="TextView"
  57. android:textAlignment="center" />
  58.  
  59. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement