activity_imchartdetail.xml 5.01 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:orientation="vertical">

    <!--头部-->
    <include
        android:id="@+id/title"
        layout="@layout/view_public_title"></include>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/title"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1">

            <!--下单信息-->
            <RelativeLayout
                android:id="@+id/rl_order"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:background="#fff">

                <android.support.v4.view.ViewPager
                    android:id="@+id/viewpager"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">

                </android.support.v4.view.ViewPager>

                <LinearLayout
                    android:id="@+id/ll_toorder"
                    android:layout_width="match_parent"
                    android:layout_height="50dp"
                    android:gravity="center_vertical"
                    android:orientation="horizontal"
                    android:paddingLeft="16dp"
                    android:paddingRight="16dp"
                    android:visibility="gone">

                    <com.chudiangameplay.android.ui.view.RoundImageView
                        android:id="@+id/iv_productimg"
                        android:layout_width="34dp"
                        android:layout_height="34dp"
                        app:radius="8dp"
                        app:type="round" />

                    <LinearLayout
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_marginLeft="12dp"
                        android:layout_weight="1"
                        android:gravity="center_vertical"
                        android:orientation="vertical">

                        <TextView
                            android:id="@+id/tv_productname"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:text="王者"
                            android:textColor="#333"
                            android:textSize="13sp" />

                        <TextView
                            android:id="@+id/tv_productprice"
                            android:layout_width="wrap_content"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="3dp"
                            android:text="王者"
                            android:textColor="@color/mainColor"
                            android:textSize="12sp" />

                    </LinearLayout>

                    <RelativeLayout
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content">

                        <TextView
                            android:id="@+id/tv_lijiyaoyue"
                            android:layout_width="72dp"
                            android:layout_height="28dp"
                            android:background="@drawable/shape_round7dp_maincolor"
                            android:gravity="center"
                            android:text="立即邀约"
                            android:textColor="#fff"
                            android:textSize="13sp" />

                    </RelativeLayout>

                </LinearLayout>

            </RelativeLayout>

            <!--消息列表-->
            <com.chudiangameplay.android.module_im.ui.view.IM_ChatMessageList
                android:id="@+id/message_list"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_below="@+id/rl_order"
                android:background="#f5f5f5" />

        </RelativeLayout>

        <!--底部输入框-->
        <com.chudiangameplay.android.module_im.ui.view.IM_InputView
            android:id="@+id/input_view"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_alignParentBottom="true" />
    </LinearLayout>

    <!--录音动画-->
    <com.chudiangameplay.android.module_im.ui.view.IM_VoiceAnimView
        android:id="@+id/voice_input_animaview"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:visibility="gone" />
</RelativeLayout>