Advertisement
RakaArdiansyah

activity_tread_layout

Jun 9th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:card_view="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="wrap_content"
  7. android:layout_marginTop="5dp"
  8. android:clickable="true"
  9. android:foreground="?android:selectableItemBackground"
  10. card_view:cardCornerRadius="20dp"
  11. card_view:cardElevation="25dp"
  12. tools:ignore="NewApi">
  13.  
  14. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:background="@color/colorDetailOsticket"
  18. android:orientation="vertical">
  19.  
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:layout_marginLeft="12dp"
  24. android:layout_marginRight="12dp"
  25. android:orientation="horizontal">
  26.  
  27. <TextView
  28. android:id="@+id/namaTread"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_marginTop="5dp"
  32. android:clickable="true"
  33. android:linksClickable="true"
  34. android:textIsSelectable="true"
  35. android:text="Nama"
  36. android:textColor="@color/navy"
  37. android:textSize="15dp"
  38. android:textStyle="bold" />
  39.  
  40. <TextView
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_marginLeft="7dp"
  44. android:layout_marginRight="7dp"
  45. android:layout_marginTop="5dp"
  46. android:text="posted"
  47. android:textColor="@color/black"
  48. android:textSize="14dp"
  49. android:textStyle="bold" />
  50.  
  51. <TextView
  52. android:id="@+id/tanggalTread"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_marginTop="5dp"
  56. android:clickable="true"
  57. android:linksClickable="true"
  58. android:textIsSelectable="true"
  59. android:text="09-10-2019"
  60. android:textColor="@color/navy"
  61. android:textSize="14dp"
  62. android:textStyle="bold" />
  63.  
  64. </LinearLayout>
  65.  
  66. <TextView
  67. android:id="@+id/isiketeranganTread"
  68. android:layout_width="match_parent"
  69. android:layout_height="wrap_content"
  70. android:layout_marginBottom="9dp"
  71. android:layout_marginLeft="10dp"
  72. android:layout_marginRight="10dp"
  73. android:layout_marginTop="5dp"
  74. android:background="@color/white"
  75. android:clickable="true"
  76. android:linksClickable="true"
  77. android:text="@string/textisi"
  78. android:textAppearance="?android:attr/textAppearanceMedium"
  79. android:textColor="@color/black"
  80. android:textIsSelectable="true"
  81. android:textSize="14dp" />
  82.  
  83. </LinearLayout>
  84.  
  85. </android.support.v7.widget.CardView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement