Advertisement
Guest User

Untitled

a guest
Jan 18th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <ScrollView 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. android:fillViewport="true">
  9.  
  10. <LinearLayout
  11. android:orientation="vertical" android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:id="@+id/linear_layout_main">
  14. <LinearLayout
  15. android:orientation="horizontal"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_marginTop="35dp"
  19. android:layout_marginBottom="30dp"
  20. android:id="@+id/buttons">
  21.  
  22. <Button
  23. android:background="@drawable/white_button_background"
  24. android:id="@+id/home_button"
  25. android:layout_width="130dp"
  26. android:layout_height="70dp"
  27. android:layout_marginStart="30dp"
  28. android:layout_marginEnd="80dp"
  29. android:layout_marginRight="40dp"
  30. android:text="@string/home_text" />
  31.  
  32. <Button
  33.  
  34. android:background="@drawable/white_button_background"
  35. android:id="@+id/popular_button"
  36. android:layout_width="130dp"
  37. android:layout_height="70dp"
  38. android:layout_marginEnd="80dp"
  39. android:layout_marginLeft="40dp"
  40. android:text="@string/popular_text" />
  41. </LinearLayout>
  42. <LinearLayout
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:orientation="horizontal"
  46. android:id="@+id/linear_layout">
  47.  
  48. </LinearLayout>
  49. <LinearLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content"
  52. android:orientation="horizontal"
  53. android:layout_marginTop="20dp">
  54.  
  55.  
  56. <Button
  57. android:id="@+id/button10"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:layout_weight="1"
  61. android:text="Button10" />
  62.  
  63. <Button
  64. android:id="@+id/button9"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_weight="1"
  68. android:text="Button10" />
  69.  
  70. <Button
  71. android:background="@drawable/white_button_background"
  72. android:id="@+id/button8"
  73. android:layout_width="match_parent"
  74. android:layout_height="wrap_content"
  75. android:layout_weight="1"
  76. android:layout_marginStart="15dp"
  77. android:layout_marginEnd="40dp"
  78. android:layout_marginRight="40dp"
  79.  
  80. android:text="Button8" />
  81.  
  82. <Button
  83. android:background="@drawable/white_button_background"
  84. android:id="@+id/button7"
  85. android:layout_width="match_parent"
  86. android:layout_height="wrap_content"
  87. android:layout_weight="1"
  88. android:layout_marginEnd="30dp"
  89. android:text="Button9" />
  90. </LinearLayout>
  91.  
  92.  
  93. </LinearLayout>
  94.  
  95.  
  96.  
  97.  
  98. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement