Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 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. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".MyProfileActivity">
  9.  
  10. <LinearLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:orientation="vertical"
  14. android:padding="16dp">
  15.  
  16. <RelativeLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent">
  19.  
  20. <ImageView
  21. android:layout_width="100dp"
  22. android:layout_height="100dp"
  23. android:id="@+id/imageProfile"
  24. android:background="#EEEEEE"/>
  25.  
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content"
  29. android:layout_marginLeft="16dp"
  30. android:layout_toRightOf="@+id/imageProfile"
  31. android:orientation="vertical">
  32.  
  33. <LinearLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:orientation="horizontal">
  37.  
  38. <TextView
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:text="Name :"
  42. android:textColor="$000000"
  43. android:textSize="15sp" />
  44.  
  45. <TextView
  46. android:id="@+id/txtName"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:text=""
  50. android:textColor="$000000"
  51. android:textSize="15sp" />
  52.  
  53. </LinearLayout>
  54. <LinearLayout
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:orientation="horizontal">
  58. <TextView
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:text="Gender : "
  62. android:textSize="15sp"
  63. android:textColor="$000000"/>
  64.  
  65. <TextView
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content"
  68. android:id="@+id/txtGender"
  69. android:text=""
  70. android:textSize="15sp"
  71. android:textColor="$000000"/>
  72.  
  73. </LinearLayout>
  74. <LinearLayout
  75. android:layout_width="match_parent"
  76. android:layout_height="wrap_content"
  77. android:orientation="horizontal">
  78. <TextView
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:text="Email : "
  82. android:textSize="15sp"
  83. android:textColor="$000000"/>
  84. <TextView
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:id="@+id/txtEmail"
  88. android:text=""
  89. android:textSize="15sp"
  90. android:textColor="$000000"/>
  91.  
  92. </LinearLayout>
  93. <LinearLayout
  94. android:layout_width="match_parent"
  95. android:layout_height="wrap_content"
  96. android:orientation="horizontal">
  97. <TextView
  98. android:layout_width="wrap_content"
  99. android:layout_height="wrap_content"
  100. android:text="Phone : "
  101. android:textSize="15sp"
  102. android:textColor="$000000" />
  103. <TextView
  104. android:layout_width="wrap_content"
  105. android:layout_height="wrap_content"
  106. android:id="@+id/txtPhone"
  107. android:text=""
  108. android:textSize="15sp"
  109. android:textColor="$000000" />
  110.  
  111. </LinearLayout>
  112.  
  113. </LinearLayout>
  114.  
  115. </RelativeLayout>
  116.  
  117. <LinearLayout
  118. android:layout_width="match_parent"
  119. android:layout_height="wrap_content"
  120. android:orientation="horizontal">
  121. <TextView
  122. android:layout_width="wrap_content"
  123. android:layout_height="wrap_content"
  124. android:text="Address : "
  125. android:textSize="15sp"
  126. android:textColor="$000000"/>
  127. <TextView
  128. android:layout_width="wrap_content"
  129. android:layout_height="wrap_content"
  130. android:id="@+id/txtAddress"
  131. android:text=""
  132. android:textSize="15sp"
  133. android:textColor="$000000"/>
  134.  
  135. </LinearLayout>
  136.  
  137. </LinearLayout>
  138.  
  139. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement