|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | + |
| 3 | +<com.facebook.shimmer.ShimmerFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 5 | + xmlns:card_view="http://schemas.android.com/apk/res-auto" |
| 6 | + xmlns:tools="http://schemas.android.com/tools" |
| 7 | + android:id="@+id/reviewPlaceholder" |
| 8 | + android:layout_width="match_parent" |
| 9 | + android:layout_height="wrap_content"> |
| 10 | + |
| 11 | + <androidx.cardview.widget.CardView |
| 12 | + android:id="@+id/cvContent" |
| 13 | + android:layout_width="match_parent" |
| 14 | + android:layout_height="wrap_content" |
| 15 | + android:layout_marginLeft="3dp" |
| 16 | + android:layout_marginRight="3dp" |
| 17 | + android:foreground="?android:attr/selectableItemBackground" |
| 18 | + card_view:cardBackgroundColor="@android:color/white" |
| 19 | + card_view:cardCornerRadius="3dp" |
| 20 | + card_view:cardUseCompatPadding="true"> |
| 21 | + |
| 22 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 23 | + android:id="@+id/clReviewCard" |
| 24 | + android:layout_width="match_parent" |
| 25 | + android:layout_height="match_parent" |
| 26 | + android:paddingBottom="5dp"> |
| 27 | + |
| 28 | + <View |
| 29 | + android:id="@+id/tvName" |
| 30 | + android:layout_width="80dp" |
| 31 | + android:layout_height="19dp" |
| 32 | + android:layout_marginStart="8dp" |
| 33 | + android:layout_marginTop="8dp" |
| 34 | + android:layout_marginEnd="8dp" |
| 35 | + app:layout_constraintEnd_toStartOf="@+id/tvCity" |
| 36 | + app:layout_constraintHorizontal_bias="0.0" |
| 37 | + app:layout_constraintStart_toStartOf="parent" |
| 38 | + app:layout_constraintTop_toTopOf="parent" /> |
| 39 | + |
| 40 | + <View |
| 41 | + android:id="@+id/tvCity" |
| 42 | + android:layout_width="70dp" |
| 43 | + android:layout_height="19dp" |
| 44 | + android:layout_marginTop="8dp" |
| 45 | + android:layout_marginEnd="8dp" |
| 46 | + app:layout_constraintEnd_toStartOf="@+id/tvDate" |
| 47 | + app:layout_constraintTop_toTopOf="parent" /> |
| 48 | + |
| 49 | + <View |
| 50 | + android:id="@+id/tvDate" |
| 51 | + android:layout_width="70dp" |
| 52 | + android:layout_height="19dp" |
| 53 | + android:layout_marginTop="8dp" |
| 54 | + android:layout_marginEnd="8dp" |
| 55 | + app:layout_constraintEnd_toEndOf="parent" |
| 56 | + app:layout_constraintTop_toTopOf="parent" |
| 57 | + tools:text="06.08.2018" /> |
| 58 | + |
| 59 | + <View |
| 60 | + android:id="@+id/tvPosition" |
| 61 | + android:layout_width="80dp" |
| 62 | + android:layout_height="19dp" |
| 63 | + android:layout_marginStart="8dp" |
| 64 | + android:layout_marginTop="8dp" |
| 65 | + android:layout_marginEnd="8dp" |
| 66 | + app:layout_constraintEnd_toStartOf="@+id/tvStatus" |
| 67 | + app:layout_constraintHorizontal_bias="0.0" |
| 68 | + app:layout_constraintStart_toStartOf="parent" |
| 69 | + app:layout_constraintTop_toBottomOf="@+id/tvName" /> |
| 70 | + |
| 71 | + <View |
| 72 | + android:id="@+id/tvStatus" |
| 73 | + android:layout_width="70dp" |
| 74 | + android:layout_height="19dp" |
| 75 | + android:layout_marginTop="8dp" |
| 76 | + android:layout_marginEnd="8dp" |
| 77 | + app:layout_constraintEnd_toEndOf="parent" |
| 78 | + app:layout_constraintTop_toBottomOf="@+id/tvDate" /> |
| 79 | + |
| 80 | + <View |
| 81 | + android:id="@+id/tvPluses" |
| 82 | + android:layout_width="0dp" |
| 83 | + android:layout_height="30dp" |
| 84 | + android:layout_marginStart="8dp" |
| 85 | + android:layout_marginTop="16dp" |
| 86 | + android:layout_marginEnd="8dp" |
| 87 | + app:layout_constraintEnd_toEndOf="parent" |
| 88 | + app:layout_constraintStart_toStartOf="parent" |
| 89 | + app:layout_constraintTop_toBottomOf="@+id/tvPosition" /> |
| 90 | + |
| 91 | + <View |
| 92 | + android:id="@+id/tvMinuses" |
| 93 | + android:layout_width="0dp" |
| 94 | + android:layout_height="30dp" |
| 95 | + android:layout_marginStart="8dp" |
| 96 | + android:layout_marginTop="8dp" |
| 97 | + android:layout_marginEnd="8dp" |
| 98 | + app:layout_constraintEnd_toEndOf="parent" |
| 99 | + app:layout_constraintStart_toStartOf="parent" |
| 100 | + app:layout_constraintTop_toBottomOf="@+id/tvPluses" /> |
| 101 | + |
| 102 | + <TextView |
| 103 | + android:id="@+id/tvRating" |
| 104 | + android:layout_width="40dp" |
| 105 | + android:layout_height="19dp" |
| 106 | + android:layout_marginStart="8dp" |
| 107 | + android:layout_marginTop="8dp" |
| 108 | + app:layout_constraintStart_toStartOf="parent" |
| 109 | + app:layout_constraintTop_toBottomOf="@+id/tvMinuses" /> |
| 110 | + |
| 111 | + <View |
| 112 | + android:id="@+id/ivRecommendation" |
| 113 | + android:layout_width="20dp" |
| 114 | + android:layout_height="20dp" |
| 115 | + android:layout_marginStart="8dp" |
| 116 | + android:layout_marginTop="8dp" |
| 117 | + app:layout_constraintBottom_toBottomOf="@+id/tvRating" |
| 118 | + app:layout_constraintStart_toEndOf="@+id/tvRating" |
| 119 | + app:layout_constraintTop_toBottomOf="@+id/tvMinuses" /> |
| 120 | + </androidx.constraintlayout.widget.ConstraintLayout> |
| 121 | + </androidx.cardview.widget.CardView> |
| 122 | +</com.facebook.shimmer.ShimmerFrameLayout> |
0 commit comments