<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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/item_main_LL"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@mipmap/shadow"
android:paddingLeft="@dimen/shadow_w"
android:paddingRight="@dimen/shadow_w"
android:paddingBottom="@dimen/shadow_w"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="2.5dp"
android:paddingRight="2.5dp"
android:background="@android:color/transparent">
<com.junxin.zeropay.view.RoundImageView
android:id="@+id/main_rv_item_img"
android:layout_width="match_parent"
android:layout_height="170dp"
android:scaleType="centerCrop"
android:src="@mipmap/list_item_one" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="15dp"
android:paddingTop="10dp"
android:paddingRight="15dp"
android:paddingBottom="13.5dp">
<TextView
android:id="@+id/main_rv_item_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:text="@string/main_activity_title"
android:textColor="@color/app_color_black"
android:textSize="17sp" />
<TextView
android:id="@+id/main_rv_item_des"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/main_punch_content"
android:textColor="@color/app_color_999"
android:textSize="12sp" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/main_rv_item_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:orientation="horizontal">
<!-- android:background="@android:color/holo_blue_bright"-->
<TextView
android:id="@+id/main_rv_item_bottom_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/main_punch_money"
android:textColor="@color/app_color_020"
android:textSize="15sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent" />
<TextView
android:visibility="gone"
android:id="@+id/main_rv_item_bottom_peaple_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="15dp"
android:text="@string/main_punch_number"
android:textColor="@color/app_color_999"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="@+id/main_rv_item_bottom_price"
app:layout_constraintRight_toLeftOf="@+id/btn_punch"
app:layout_constraintRight_toRightOf="parent" />
<TextView
android:id="@+id/btn_punch"
android:layout_width="70dp"
android:layout_height="30dp"
android:background="@drawable/bg_main_punch_btn"
android:gravity="center"
android:text="@string/main_punch_card"
android:textColor="@color/app_color_white"
android:textSize="14sp"
app:layout_constraintBottom_toBottomOf="@+id/main_rv_item_bottom_price"
app:layout_constraintRight_toRightOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</LinearLayout>
|