Guest User

Untitled

a guest
Jan 17th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.11 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <RelativeLayout
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:padding="14dp"
  7. >
  8.  
  9. <LinearLayout
  10. android:id="@+id/linearMain"
  11. android:layout_width="85dp"
  12. android:layout_height="85dp"
  13. >
  14.  
  15. <LinearLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent"
  18. android:background="@drawable/shape_notificacao_drawable"
  19. android:orientation="vertical"
  20. >
  21.  
  22. <TextView
  23. android:id="@+id/txtDia"
  24. style="@style/titulosGrande"
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent"
  27. android:layout_weight="1"
  28. android:text="09"
  29. android:textColor="@color/secondary_text"
  30. />
  31.  
  32. <TextView
  33. android:id="@+id/txtMes"
  34. style="@style/titulosGrande"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:layout_weight="1"
  38. android:text="Set"
  39. android:textColor="@color/fonte_cinza"
  40. android:textSize="18sp"
  41. />
  42.  
  43. </LinearLayout>
  44.  
  45. </LinearLayout>
  46.  
  47. <LinearLayout
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:layout_centerVertical="true"
  51. android:layout_marginStart="16dp"
  52. android:layout_marginLeft="16dp"
  53. android:layout_toEndOf="@+id/linearMain"
  54. android:layout_toRightOf="@+id/linearMain"
  55. android:orientation="vertical">
  56.  
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="match_parent"
  60. android:orientation="horizontal"
  61. android:layout_marginEnd="10dp"
  62. >
  63.  
  64. <TextView
  65. android:id="@+id/txtTitulo"
  66. style="@style/titulosPequenos"
  67. android:layout_width="wrap_content"
  68. android:layout_height="match_parent"
  69. android:layout_weight="1"
  70. android:gravity="center_vertical"
  71. android:text="Titulo da notificação"
  72. android:textSize="18sp"
  73. android:textStyle="normal"
  74. />
  75.  
  76. </LinearLayout>
  77.  
  78. <TextView
  79. android:id="@+id/txtDescricao"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. style="@style/textoNormal"
  83. android:layout_marginTop="4dp"
  84. android:gravity="start"
  85. android:ellipsize="end"
  86. android:maxLines="3"
  87. android:text="Pet Shop Ciade Nova está com uma promoção de banhos toda quarta-feira!"
  88. android:textSize="12sp"
  89. android:layout_marginEnd="10dp"
  90. android:textColor="@color/fonte_cinza"
  91. />
  92.  
  93. <LinearLayout
  94. android:id="@+id/linearTextoAdicional"
  95. android:layout_width="match_parent"
  96. android:layout_height="match_parent"
  97. android:orientation="horizontal"
  98. >
  99.  
  100. <TextView
  101. android:id="@+id/txtAdicional"
  102. style="@style/textoNormal"
  103. android:layout_width="wrap_content"
  104. android:layout_height="30dp"
  105. android:layout_marginTop="7dp"
  106. android:layout_centerInParent="true"
  107. android:background="@drawable/shape_chip_drawable"
  108. android:text="Eu quero!"
  109. android:gravity="center"
  110. android:textSize="12sp"
  111. android:textColor="@color/secondary_text"
  112. />
  113.  
  114. </LinearLayout>
  115.  
  116.  
  117. </LinearLayout>
  118.  
  119. </RelativeLayout>
  120.  
  121. <LinearLayout
  122. android:layout_width="match_parent"
  123. android:layout_height="match_parent"
  124. android:layout_marginTop="0dp"
  125. android:layout_marginStart="14dp"
  126. android:layout_marginEnd="14dp"
  127. >
  128.  
  129. <include layout="@layout/divisor_mono" />
  130.  
  131. </LinearLayout>
Add Comment
Please, Sign In to add comment