adapter_play_recommendation.xml 3.05 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.
  -->

<layout 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">

    <data>

        <variable
            name="album"
            type="com.wd.foundation.bean.music.bean.VoicePlayerBean" />

    </data>

    <androidx.constraintlayout.widget.ConstraintLayout
        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"
            tools:text="jhghjggj"
            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"
            android:layout_marginStart="@dimen/rmrb_dp52"
            android:layout_marginEnd="@dimen/rmrb_dp16"
            android:maxLines="1"
            android:ellipsize="end"
            />

        <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/iv_play_status"
            android:layout_width="@dimen/rmrb_dp24"
            android:layout_height="@dimen/rmrb_dp24"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toLeftOf="parent"
            android:layout_marginStart="@dimen/rmrb_dp16"
            android:src="@mipmap/icon_play_stop"
            android:scaleType="fitXY"
            />
        <!--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"
            app:lottie_autoPlay="false"
            app:lottie_loop="false"
            android:visibility="gone"
            app:layout_constraintTop_toTopOf="parent"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintLeft_toLeftOf="parent"
            />


    </androidx.constraintlayout.widget.ConstraintLayout>
</layout>