Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".MainActivity"
  9. android:orientation="horizontal"
  10. >
  11. <TextView
  12. android:layout_centerInParent="true"
  13. android:text="hello world"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. />
  17.  
  18.  
  19. <TextView
  20. android:layout_alignParentLeft="true"
  21. android:text="hello world"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. />
  25.  
  26. <TextView
  27. android:layout_alignParentRight="true"
  28. android:text="hello world"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. />
  32.  
  33. <TextView
  34. android:layout_alignParentBottom="true"
  35. android:text="hello world"
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. />
  39.  
  40. <TextView
  41. android:layout_centerHorizontal="true"
  42. android:text="hello world"
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content"
  45. />
  46.  
  47. <TextView
  48. android:layout_centerVertical="true"
  49. android:text="hello world"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. />
  53.  
  54. <TextView
  55. android:layout_centerVertical="true"
  56. android:text="hello world"
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. />
  60.  
  61. <TextView
  62. android:layout_alignParentBottom="true"
  63. android:layout_centerHorizontal="true"
  64. android:text="hello world"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. />
  68.  
  69. <TextView
  70. android:layout_alignParentBottom="true"
  71. android:layout_centerHorizontal="true"
  72. android:layout_alignParentRight="true"
  73. android:text="hello world"
  74. android:layout_width="wrap_content"
  75. android:layout_height="wrap_content"
  76. />
  77.  
  78. <TextView
  79.  
  80. android:layout_centerInParent="true"
  81. android:layout_alignParentRight="true"
  82. android:text="hello world"
  83. android:layout_width="wrap_content"
  84. android:layout_height="wrap_content"
  85. />
  86.  
  87.  
  88.  
  89.  
  90. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement