vityus писал(а): ↑Пн июл 01, 2019 10:02 am
А можно для очень одаренных людей подробнее написать... у меня после удаления и других манипуляций куча ошибок выскочило
Вот вам готовое решение сделайте замену
<com.balysv.materialripple.MaterialRippleLayout xmlns:android="
http://schemas.android.com/apk/res/android"
xmlns:app="
http://schemas.android.com/apk/res-auto"
android:background="@color/colorWhite"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
app:mrl_rippleAlpha="0.2"
app:mrl_rippleColor="@color/colorRipple"
app:mrl_rippleHover="true"
app:mrl_rippleOverlay="true">
<LinearLayout
android:id="@+id/lyt_parent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:id="@+id/category_image"
android:layout_width="87dp"
android:layout_height="129dp"
android:layout_margin="5dp"
android:scaleType="centerCrop"
android:src="@drawable/ic_thumbnail" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginLeft="10dp"
android:orientation="vertical">
<TextView
android:id="@+id/category_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="Category"
android:textColor="@color/colorText"
android:textSize="16sp" />
<TextView
android:id="@+id/video_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="1"
android:text="5 video(s)" />
</LinearLayout>
</LinearLayout>
</com.balysv.materialripple.MaterialRippleLayout>
Но лучше бы вы сами постарались разобраться во всем так быстрее научитесь