incloud_room_edit.xml 2.15 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/live_edit_lina"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:orientation="vertical"
    android:paddingBottom="3dp" >

    <LinearLayout
        android:id="@+id/relativeLayout1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
         >

        <CheckBox
            android:id="@+id/barrage_switch"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:layout_marginLeft="8dip"
            android:button="@null"
            android:gravity="center"
            tools:ignore="NewApi"
            android:background="@drawable/live_msg_check"
             />

        <com.ivt.android.me.ui.myview.CustomEditText
            android:id="@+id/edit_input"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="5"
            android:alpha="0.5"
            android:background="@drawable/barrage_edit"
            android:gravity="center_vertical"
            android:hint="@string/mulit_edit_hint"
            android:imeOptions="normal"
            android:maxLength="100"
            android:paddingLeft="8dp"
            android:singleLine="true"
            android:textColor="#000000"
            android:textColorHint="#8c8c8c"
            android:textSize="14sp" />

        <Button
            android:id="@+id/live_bt_send"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:layout_marginRight="8dip"
            android:background="@drawable/barrage_send"
            android:gravity="center"
            android:text="发送"
            android:textColor="@color/wite"
            android:textSize="13sp" />
    </LinearLayout>

</RelativeLayout>