商品布局

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content">

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal">

        <CheckBox
            android:id="@+id/pro_box"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"

            />

        <com.facebook.drawee.view.SimpleDraweeView
            android:id="@+id/pro_iv_image"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:layout_margin="10dp"
            android:layout_toRightOf="@+id/pro_box"
            android:src="@mipmap/ic_launcher" />

        <TextView
            android:id="@+id/pro_tv_title"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignTop="@+id/pro_iv_image"
            android:layout_toRightOf="@+id/pro_iv_image"
            android:text="手机画册" />


    </LinearLayout>

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_marginLeft="100dp"
        android:layout_marginTop="60dp"
        >

        <TextView
            android:id="@+id/pro_tv_price"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="优惠价"
            android:textColor="#f00"

            />
    </LinearLayout>
    <bawei.com.jds.mvp.ui.weight.Plusview
        android:id="@+id/pro_tog_button"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentRight="true"
        android:layout_marginTop="60dp"
        />
</RelativeLayout>

猜你喜欢

转载自blog.csdn.net/qq_42585270/article/details/82830010
今日推荐