adapter_play_recommendation.xml 2.69 KB
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright 2018-present KunMinX
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~    http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/root_view"
    android:layout_width="match_parent"
    android:layout_height="@dimen/rmrb_dp50"
    tools:background="@color/res_color_common_C8">

    <TextView
        android:id="@+id/textView2"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/rmrb_dp52"
        android:layout_marginEnd="@dimen/rmrb_dp16"
        android:ellipsize="end"
        android:maxLines="1"
        android:textColor="#212228"
        android:textSize="@dimen/rmrb_dp17"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintStart_toEndOf="@+id/iv_play_status"
        app:layout_constraintTop_toTopOf="parent"
        tools:text="jhghjggj" />

    <androidx.appcompat.widget.AppCompatImageView
        android:id="@+id/iv_play_status"
        android:layout_width="@dimen/rmrb_dp24"
        android:layout_height="@dimen/rmrb_dp24"
        android:layout_marginStart="@dimen/rmrb_dp16"
        android:scaleType="fitXY"
        android:src="@mipmap/icon_play_stop"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
    <!--playlistrecommendationgif.json -->
    <com.airbnb.lottie.LottieAnimationView
        android:id="@+id/lottieplaytag"
        android:layout_width="@dimen/rmrb_dp24"
        android:layout_height="@dimen/rmrb_dp24"
        android:layout_marginStart="@dimen/rmrb_dp16"
        android:visibility="gone"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:lottie_autoPlay="false"
        app:lottie_loop="false" />


</androidx.constraintlayout.widget.ConstraintLayout>