109 lines
4.1 KiB
XML
109 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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:layout_width="@dimen/dp_220"
|
|
android:layout_height="@dimen/dp_90"
|
|
tools:background="@color/window_bg_color">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:layout_width="@dimen/dp_20"
|
|
android:layout_height="@dimen/dp_20"
|
|
android:layout_marginBottom="@dimen/dp_7"
|
|
android:src="@mipmap/button_free"
|
|
app:layout_constraintBottom_toBottomOf="@+id/tv_num"
|
|
app:layout_constraintStart_toStartOf="@+id/tv_num" />
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:lines="10"
|
|
android:textSize="19sp"
|
|
android:background="#01713D"
|
|
android:textColor="#7FC5B8"
|
|
android:layout_height="0dp"
|
|
android:gravity="center_horizontal"/>
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tv_num"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sp_18"
|
|
android:fontFamily="@font/playfair_display_bold"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="1" />
|
|
<ImageView
|
|
android:background="#E406B4"
|
|
android:layout_height="0dp"
|
|
android:layout_width="0dp"
|
|
android:visibility="visible"
|
|
android:paddingTop="61dp"/>
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:id="@+id/cardView"
|
|
android:layout_width="@dimen/dp_68"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginStart="@dimen/dp_15"
|
|
app:cardCornerRadius="@dimen/dp_6"
|
|
app:cardElevation="0dp"
|
|
app:layout_constraintStart_toEndOf="@+id/tv_num"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/iv_image"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tv_name"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_2"
|
|
android:ellipsize="end"
|
|
android:textSize="@dimen/sp_12"
|
|
android:textColor="@color/white"
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
android:maxLines="2"
|
|
android:minLines="2"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@+id/cardView"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tv_revenge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/jy_arrows_fragment"
|
|
tools:text="Revenge"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
app:layout_constraintStart_toStartOf="@+id/tv_name"
|
|
android:textColor="@color/factoryApplicationTrends"
|
|
android:textSize="@dimen/sp_10"
|
|
android:gravity="center"
|
|
android:paddingHorizontal="@dimen/dp_10"
|
|
android:paddingVertical="@dimen/dp_2"
|
|
app:layout_constraintTop_toBottomOf="@+id/tv_name"
|
|
/>
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/tv_watch"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dp_2"
|
|
android:drawableStart="@mipmap/splash_ball_constants"
|
|
android:drawablePadding="@dimen/dp_5"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sp_10"
|
|
android:gravity="center"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="@+id/tv_name"
|
|
tools:text="526.5k" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |