Advertisement
Guest User

Untitled

a guest
Feb 12th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:padding="20dp">
  6.  
  7.  
  8. <EditText
  9. android:id="@+id/edtUserName"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:hint="Enter Username:" />
  13.  
  14. <EditText
  15. android:id="@+id/edtUserPw"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_below="@+id/edtUserName"
  19. android:hint="Enter User Password:" />
  20.  
  21. <Button
  22. android:id="@+id/btnLogin"
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_alignParentBottom="true"
  26. android:text="Login" />
  27.  
  28. <RelativeLayout
  29. android:id="@+id/layoutUserInfo"
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent">
  32.  
  33. <ImageView
  34. android:id="@+id/imgUserProfile"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_centerHorizontal="true"
  38. android:src="@mipmap/ic_launcher" />
  39.  
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:layout_below="@+id/imgUserProfile"
  44. android:orientation="vertical"
  45. android:padding="10dp">
  46.  
  47. <LinearLayout
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content">
  50.  
  51. <TextView
  52. android:layout_width="match_parent"
  53. android:layout_height="wrap_content"
  54. android:layout_weight="3"
  55. android:text="Name: " />
  56.  
  57. <EditText
  58. android:layout_width="match_parent"
  59. android:layout_height="wrap_content"
  60. android:layout_weight="1"
  61. android:text="" />
  62.  
  63.  
  64. </LinearLayout>
  65.  
  66. <LinearLayout
  67. android:layout_width="match_parent"
  68. android:layout_height="wrap_content">
  69.  
  70. <TextView
  71. android:layout_width="match_parent"
  72. android:layout_height="wrap_content"
  73. android:layout_weight="3"
  74. android:text="Last Name: " />
  75.  
  76. <EditText
  77. android:layout_width="match_parent"
  78. android:layout_height="wrap_content"
  79. android:layout_weight="1"
  80. android:text="" />
  81.  
  82.  
  83. </LinearLayout>
  84.  
  85. <LinearLayout
  86. android:layout_width="match_parent"
  87. android:layout_height="wrap_content">
  88.  
  89. <TextView
  90. android:layout_width="match_parent"
  91. android:layout_height="wrap_content"
  92. android:layout_weight="3"
  93. android:text="Address: " />
  94.  
  95. <EditText
  96. android:layout_width="match_parent"
  97. android:layout_height="wrap_content"
  98. android:layout_weight="1"
  99. android:text="" />
  100.  
  101.  
  102. </LinearLayout>
  103.  
  104. <LinearLayout
  105. android:layout_width="match_parent"
  106. android:layout_height="wrap_content">
  107.  
  108. <TextView
  109. android:layout_width="match_parent"
  110. android:layout_height="wrap_content"
  111. android:layout_weight="3"
  112. android:text="Phone: " />
  113.  
  114. <EditText
  115. android:layout_width="match_parent"
  116. android:layout_height="wrap_content"
  117. android:layout_weight="1"
  118. android:text="" />
  119.  
  120.  
  121. </LinearLayout>
  122.  
  123.  
  124. </LinearLayout>
  125.  
  126. </RelativeLayout>
  127.  
  128.  
  129. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement