Guest User

Untitled

a guest
Nov 22nd, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. enter code here
  2.  
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. xmlns:tools="http://schemas.android.com/tools"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. tools:context="com.example.shubhojit.atry.MainActivity"
  10. android:orientation="vertical"
  11. android:padding="10dp"
  12. android:background="@color/backgroundcolor"
  13. android:gravity="center">
  14.  
  15. <LinearLayout
  16. android:clipToPadding="false"
  17. android:gravity="center"
  18. android:orientation="horizontal"
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content">
  21. <android.support.v7.widget.CardView
  22. android:foreground="?android:attr/selectableItemBackground"
  23. android:clickable="true"
  24. android:id="@+id/mon"
  25. android:layout_width="160dp"
  26. android:layout_height="190dp"
  27. android:layout_margin="10dp">
  28. <LinearLayout
  29. android:layout_width="match_parent"
  30. android:layout_height="match_parent"
  31. android:orientation="vertical"
  32. android:gravity="center">
  33. <ImageView
  34. android:layout_width="64dp"
  35. android:layout_height="64dp"
  36. android:background="@drawable/cerclebackgroundpink"
  37. android:src="@drawable/ic_date_range_black_24dp"
  38. android:padding="10dp"/>
  39.  
  40. <TextView
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:textStyle="bold"
  44. android:layout_marginTop="10dp"
  45. android:text="MONTHS"/>
  46. <View
  47. android:layout_width="match_parent"
  48. android:layout_height="1dp"
  49. android:background="@color/lightgray"
  50. android:layout_margin="10dp"/>
  51. <TextView
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:gravity="center"
  55. android:text="Find festivals of your favourite Month"
  56. android:padding="5dp"
  57. android:textColor="@android:color/darker_gray"/>
  58. </LinearLayout>
  59. </android.support.v7.widget.CardView>
  60.  
  61. <android.support.v7.widget.CardView
  62. android:foreground="?android:attr/selectableItemBackground"
  63. android:clickable="true"
  64.  
  65.  
  66. android:layout_width="160dp"
  67. android:layout_height="190dp"
  68. android:layout_margin="10dp">
  69. <LinearLayout
  70. android:layout_width="match_parent"
  71. android:layout_height="match_parent"
  72. android:orientation="vertical"
  73. android:gravity="center">
  74. <ImageView
  75. android:layout_width="64dp"
  76. android:layout_height="64dp"
  77. android:background="@drawable/cerclebackgroundpurple"
  78. android:src="@drawable/ic_terrain_black_24dp"
  79. android:padding="10dp"/>
  80.  
  81. <TextView
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:textStyle="bold"
  85. android:layout_marginTop="10dp"
  86. android:text="PLACES"/>
  87. <View
  88. android:layout_width="match_parent"
  89. android:layout_height="1dp"
  90. android:background="@color/lightgray"
  91. android:layout_margin="10dp"/>
  92. <TextView
  93. android:layout_width="wrap_content"
  94. android:layout_height="wrap_content"
  95. android:gravity="center"
  96. android:text="Check out festivals in your Region"
  97. android:padding="5dp"
  98. android:textColor="@android:color/darker_gray"/>
  99. </LinearLayout>
  100. </android.support.v7.widget.CardView>
  101. </LinearLayout>
  102.  
  103.  
  104. <LinearLayout
  105. android:clipToPadding="false"
  106. android:gravity="center"
  107. android:orientation="horizontal"
  108. android:layout_width="match_parent"
  109. android:layout_height="wrap_content">
  110. <android.support.v7.widget.CardView
  111. android:foreground="?android:attr/selectableItemBackground"
  112. android:clickable="true"
  113.  
  114. android:layout_width="340dp"
  115. android:layout_height="150dp"
  116. android:layout_margin="10dp">
  117. <LinearLayout
  118. android:layout_width="match_parent"
  119. android:layout_height="match_parent"
  120. android:orientation="vertical"
  121. android:gravity="center">
  122. <ImageView
  123. android:layout_width="64dp"
  124. android:layout_height="64dp"
  125. android:background="@drawable/cerclebackgroundgreen"
  126. android:src="@drawable/ic_people_black_24dp"
  127. android:padding="10dp"/>
  128.  
  129. <TextView
  130. android:layout_width="wrap_content"
  131. android:layout_height="wrap_content"
  132. android:textStyle="bold"
  133. android:layout_marginTop="10dp"
  134. android:text="CULTURES"/>
  135. <View
  136. android:layout_width="match_parent"
  137. android:layout_height="1dp"
  138. android:background="@color/lightgray"
  139. android:layout_margin="10dp"/>
  140. <TextView
  141. android:layout_width="wrap_content"
  142. android:layout_height="wrap_content"
  143. android:gravity="center"
  144. android:text="Live out with festivals of your own Culture"
  145. android:padding="5dp"
  146. android:textColor="@android:color/darker_gray"/>
  147. </LinearLayout>
  148. </android.support.v7.widget.CardView>
  149.  
  150. </LinearLayout>
  151. </LinearLayout>
Add Comment
Please, Sign In to add comment