Advertisement
Neyasbit

Untitled

Mar 28th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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="300dp"
  6. android:layout_height="match_parent"
  7. android:layout_gravity="center"
  8. tools:context=".FilterFragment">
  9.  
  10. <androidx.cardview.widget.CardView
  11. android:id="@+id/cardView"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_marginStart="8dp"
  15. android:layout_marginTop="8dp"
  16. android:layout_marginEnd="8dp"
  17. android:layout_marginBottom="8dp"
  18. card_view:cardCornerRadius="6dp"
  19. card_view:cardElevation="6dp"
  20. card_view:layout_constraintBottom_toBottomOf="parent"
  21. card_view:layout_constraintEnd_toEndOf="parent"
  22. card_view:layout_constraintStart_toStartOf="parent"
  23. card_view:layout_constraintTop_toTopOf="parent">
  24.  
  25. <TextView
  26. android:layout_width="match_parent"
  27. android:layout_height="match_parent"
  28. android:hint="City"
  29. android:padding="6dp"
  30. android:textSize="20sp"
  31. tools:text="City" />
  32. </androidx.cardview.widget.CardView>
  33.  
  34. <androidx.cardview.widget.CardView
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:layout_marginTop="8dp"
  38. android:layout_marginBottom="8dp"
  39. card_view:cardCornerRadius="6dp"
  40. card_view:cardElevation="6dp"
  41. card_view:layout_constraintBottom_toBottomOf="parent"
  42. card_view:layout_constraintTop_toBottomOf="@+id/cardView"
  43. tools:layout_editor_absoluteX="8dp">
  44.  
  45. <TextView
  46. android:layout_width="match_parent"
  47. android:layout_height="match_parent"
  48. android:hint="City"
  49. android:padding="6dp"
  50. android:textSize="20sp"
  51. tools:text="City" />
  52. </androidx.cardview.widget.CardView>
  53.  
  54. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement