Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:orientation="vertical"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:paddingLeft="10dp"
  8. android:paddingRight="10dp"
  9. android:paddingTop="3dp"
  10. android:paddingBottom="3dp">
  11.  
  12. <android.support.v7.widget.CardView
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. app:cardCornerRadius="4dp"
  16. android:elevation="14dp"
  17. android:id="@+id/card_view"
  18. android:layout_marginBottom="2dp">
  19.  
  20. <LinearLayout
  21. android:orientation="vertical"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:padding="8dp">
  25.  
  26. <TextView
  27. android:id="@+id/uid"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30.  
  31. android:layout_marginBottom="3dp"
  32. android:textSize="16dp"
  33. android:textColor="#2196f3"/>
  34.  
  35. <TextView
  36. android:id="@+id/name"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39.  
  40. android:textSize="12dp"
  41. android:textColor="#878586"/>
  42.  
  43. <LinearLayout
  44. android:orientation="horizontal"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content">
  47.  
  48. <RelativeLayout
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content">
  51.  
  52. <TextView
  53. android:id="@+id/id"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:textColor="#2196f3"
  57. android:visibility="invisible"/>
  58.  
  59. <TextView
  60. android:id="@+id/phone"
  61. android:layout_width="wrap_content"
  62. android:layout_height="wrap_content"
  63.  
  64. android:textSize="10dp" android:textColor="#aeaeae"/>
  65.  
  66. <TextView
  67. android:visibility="invisible"
  68. android:layout_alignParentRight="true"
  69. android:id="@+id/address"
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72.  
  73. android:textSize="10dp"
  74. android:textColor="#aeaeae"/>
  75.  
  76. </RelativeLayout>
  77.  
  78. </LinearLayout>
  79.  
  80. </LinearLayout>
  81.  
  82. </android.support.v7.widget.CardView>
  83.  
  84. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement