react-native-cosser
Version:
环信客服功能
53 lines (46 loc) • 1.92 kB
text/xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:easemob="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true" >
<com.example.react_native_cosser.easeui.widget.TitleBar
android:id="@+id/title_bar"
android:layout_width="match_parent"
android:layout_height="@dimen/title_height"
android:background="@color/title_bg_color"
easemob:titleBarLeftImage="@drawable/hd_mm_title_back" />
<TextView
android:id="@+id/tv_username"
android:layout_width="1px"
android:layout_height="1px"
/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/input_menu"
android:layout_below="@id/title_bar" >
<com.example.react_native_cosser.easeui.widget.MessageList
android:id="@+id/message_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
<com.example.react_native_cosser.easeui.widget.EaseChatInputMenu
android:id="@+id/input_menu"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" />
<TextView
android:id="@+id/tv_tip_waitcount"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="20dp"
android:paddingTop="3dp"
android:paddingBottom="3dp"
android:layout_above="@id/input_menu"
android:background="@android:color/darker_gray"
android:textSize="13sp"
android:textColor="@android:color/white"
android:visibility="gone"
/>
</RelativeLayout>