Advertisement
Guest User

Untitled

a guest
Feb 12th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 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:layout_marginTop="45dp"
  45. android:orientation="vertical"
  46. android:padding="10dp"
  47. android:visibility="gone">
  48.  
  49. <LinearLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content">
  52.  
  53. <TextView
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_weight="3"
  57. android:text="Name: " />
  58.  
  59. <EditText
  60. android:layout_width="match_parent"
  61. android:layout_height="wrap_content"
  62. android:layout_weight="1" />
  63.  
  64.  
  65. </LinearLayout>
  66.  
  67. <LinearLayout
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content">
  70.  
  71. <TextView
  72. android:layout_width="match_parent"
  73. android:layout_height="wrap_content"
  74. android:layout_weight="3"
  75. android:text="Last Name: " />
  76.  
  77. <EditText
  78. android:layout_width="match_parent"
  79. android:layout_height="wrap_content"
  80. android:layout_weight="1" />
  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.  
  100.  
  101. </LinearLayout>
  102.  
  103. <LinearLayout
  104. android:layout_width="match_parent"
  105. android:layout_height="wrap_content">
  106.  
  107. <TextView
  108. android:layout_width="match_parent"
  109. android:layout_height="wrap_content"
  110. android:layout_weight="3"
  111. android:text="Phone: " />
  112.  
  113. <EditText
  114. android:layout_width="match_parent"
  115. android:layout_height="wrap_content"
  116. android:layout_weight="1" />
  117.  
  118.  
  119. </LinearLayout>
  120.  
  121.  
  122. </LinearLayout>
  123.  
  124. </RelativeLayout>
  125.  
  126.  
  127. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement