xxy_activity_chat.xml 1.9 KB
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/xxy_color_ffffff"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/xxy_dip_44">

            <ImageView
                android:id="@+id/xxy_chat_back"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:paddingStart="@dimen/xxy_dip_15"
                android:paddingEnd="@dimen/xxy_dip_15"
                android:src="@drawable/xxy_back" />

            <com.xxy.sdk.widget.HorizontalListView
                android:id="@+id/xxy_chat_listView"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_toEndOf="@+id/xxy_chat_back" />

        </RelativeLayout>

        <FrameLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <FrameLayout
                android:id="@+id/xxy_chat_fragment"
                android:layout_width="match_parent"
                android:layout_height="match_parent" />

            <TextView
                android:id="@+id/xxy_chat_empty"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:text="暂无消息"
                android:textColor="@color/xxy_color_666666"
                android:textSize="@dimen/xxy_sp_14"
                android:visibility="gone" />

        </FrameLayout>

    </LinearLayout>
</ScrollView>