Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.81 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@drawable/dashboard_background"
  8. tools:context="com.teqiq.teqiqondemand.HomeActivity">
  9. <RelativeLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:background="@drawable/dashboard_background"
  13. android:orientation="horizontal">
  14.  
  15. <Button
  16. android:id="@+id/movies"
  17. android:layout_width="150dp"
  18. android:layout_height="50dp"
  19. android:layout_alignBottom="@+id/imageView2"
  20. android:layout_alignParentStart="true"
  21. android:layout_marginBottom="5dp"
  22. android:layout_marginStart="15dp"
  23. android:layout_marginTop="5dp"
  24. android:background="@drawable/pop_movies_button"
  25. android:maxLines="1"
  26. android:padding="2dp"
  27. android:text="Movies"
  28. android:textIsSelectable="false" />
  29.  
  30. <Button
  31. android:id="@+id/supportButton"
  32. android:layout_width="150dp"
  33. android:layout_height="50dp"
  34. android:layout_alignBaseline="@+id/settings"
  35. android:layout_alignBottom="@+id/settings"
  36. android:layout_alignStart="@+id/playStore"
  37. android:layout_marginTop="5dp"
  38. android:background="@drawable/pop_movies_button"
  39. android:maxLines="1"
  40. android:padding="2dp"
  41. android:text="Support" />
  42.  
  43. <Button
  44. android:id="@+id/favoritesButton"
  45. android:layout_width="150dp"
  46. android:layout_height="50dp"
  47. android:layout_alignBaseline="@+id/movies"
  48. android:layout_alignBottom="@+id/movies"
  49. android:layout_alignStart="@+id/imageView2"
  50. android:background="@drawable/pop_movies_button"
  51. android:maxLines="1"
  52. android:padding="2dp"
  53. android:text="Favorites" />
  54.  
  55. <Button
  56. android:id="@+id/playStore"
  57. android:layout_width="150dp"
  58. android:layout_height="50dp"
  59. android:layout_alignStart="@+id/liveTV"
  60. android:layout_below="@+id/liveTV"
  61. android:layout_marginBottom="5dp"
  62. android:layout_marginTop="5dp"
  63. android:background="@drawable/pop_movies_button"
  64. android:maxLines="1"
  65. android:padding="2dp"
  66. android:text="Google Play" />
  67.  
  68. <Button
  69. android:id="@+id/liveTV"
  70. android:layout_width="150dp"
  71. android:layout_height="50dp"
  72. android:layout_alignStart="@+id/movies"
  73. android:layout_below="@+id/movies"
  74. android:layout_marginBottom="5dp"
  75. android:layout_marginTop="5dp"
  76. android:background="@drawable/pop_movies_button"
  77. android:maxLines="1"
  78. android:padding="2dp"
  79. android:text="Live TV" />
  80.  
  81. <Button
  82. android:id="@+id/ytButton"
  83. android:layout_width="150dp"
  84. android:layout_height="50dp"
  85. android:layout_alignStart="@+id/shows"
  86. android:layout_below="@+id/shows"
  87. android:layout_marginBottom="5dp"
  88. android:layout_marginTop="5dp"
  89. android:background="@drawable/pop_movies_button"
  90. android:maxLines="1"
  91. android:padding="2dp"
  92. android:text="YouTube" />
  93.  
  94. <Button
  95. android:id="@+id/chrome"
  96. android:layout_width="150dp"
  97. android:layout_height="50dp"
  98. android:layout_alignStart="@+id/ytButton"
  99. android:layout_below="@+id/ytButton"
  100. android:layout_marginBottom="5dp"
  101. android:layout_marginTop="5dp"
  102. android:background="@drawable/pop_movies_button"
  103. android:maxLines="1"
  104. android:padding="2dp"
  105. android:text="Browser" />
  106.  
  107. <Button
  108. android:id="@+id/shows"
  109. android:layout_width="150dp"
  110. android:layout_height="50dp"
  111. android:layout_alignBaseline="@+id/movies"
  112. android:layout_alignBottom="@+id/movies"
  113. android:layout_alignParentEnd="true"
  114. android:layout_marginBottom="5dp"
  115. android:layout_marginEnd="15dp"
  116. android:background="@drawable/pop_movies_button"
  117. android:maxLines="1"
  118. android:padding="2dp"
  119. android:text="TV Shows" />
  120.  
  121. <Button
  122. android:id="@+id/settings"
  123. android:layout_width="150dp"
  124. android:layout_height="50dp"
  125. android:layout_alignStart="@+id/chrome"
  126. android:layout_below="@+id/chrome"
  127. android:layout_marginTop="5dp"
  128. android:background="@drawable/pop_movies_button"
  129. android:maxLines="1"
  130. android:padding="2dp"
  131. android:text="Settings" />
  132.  
  133. <ImageView
  134. android:id="@+id/imageView2"
  135. android:layout_width="75dp"
  136. android:layout_height="75dp"
  137. android:layout_alignStart="@+id/demoVid"
  138. android:layout_centerVertical="true"
  139. app:srcCompat="@drawable/ic_launcher" />
  140.  
  141. <TextView
  142. android:id="@+id/homeText"
  143. android:layout_width="wrap_content"
  144. android:layout_height="wrap_content"
  145. android:layout_alignEnd="@+id/demoVid"
  146. android:layout_centerVertical="true"
  147. android:text="Home"
  148. android:textColor="#ffffff"
  149. android:textSize="25dp" />
  150.  
  151. <Button
  152. android:id="@+id/demoVid"
  153. android:layout_width="150dp"
  154. android:layout_height="50dp"
  155. android:layout_alignBaseline="@+id/supportButton"
  156. android:layout_alignBottom="@+id/supportButton"
  157. android:layout_centerHorizontal="true"
  158. android:background="@drawable/pop_movies_button"
  159. android:maxLines="1"
  160. android:padding="2dp"
  161. android:text="Tutorial" />
  162.  
  163. </RelativeLayout>
  164.  
  165. </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement