<androidx.cardview.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" android:elevation="4dp"> <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <ImageView android:id="@+id/perf_image" android:layout_width="wrap_content" android:layout_height="200dp" android:adjustViewBounds="true" android:scaleType="centerCrop" app:imageUrl="@{schedule.image_url}" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> <com.github.mmin18.widget.RealtimeBlurView android:id="@+id/blurView" android:layout_width="match_parent" android:layout_height="70dp" app:layout_constraintBottom_toBottomOf="@id/perf_image" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:realtimeBlurRadius="10dp" app:realtimeOverlayColor="#60000000" /> </androidx.constraintlayout.widget.ConstraintLayout> </androidx.cardview.widget.CardView> Как-то так но есть и другие либы
Обсуждают сегодня