pdlivexp/live/src/main/res/layout/dialog_live_chat_input.xml
2022-08-03 18:24:52 +08:00

118 lines
4.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="100dp"
android:background="@drawable/background_horn"
android:gravity="center_vertical"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<RadioGroup
android:id="@+id/radio_horn_type"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="horizontal">
<RadioButton
android:id="@+id/btn_0"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="9dp"
android:layout_weight="1"
android:background="@drawable/radio_horn_type"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/normal_barrage"
android:textColor="@color/white"
android:drawableLeft="@mipmap/icon_general_message_p"
android:textSize="12sp" />
<RadioButton
android:id="@+id/btn_1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="9dp"
android:layout_weight="1"
android:background="@drawable/radio_horn_type"
android:button="@null"
android:gravity="center"
android:drawableLeft="@mipmap/icon_popup_screen"
android:text="@string/floating_screen"
android:textColor="#FFB1B6C7"
android:textSize="12sp" />
<RadioButton
android:id="@+id/btn_2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginStart="9dp"
android:layout_weight="1"
android:background="@drawable/radio_horn_type"
android:button="@null"
android:gravity="center"
android:drawableStart="@mipmap/icon_world_horn"
android:text="@string/whole_station_horn"
android:textColor="#FFB1B6C7"
android:visibility="gone"
android:textSize="12sp" />
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1" />
</RadioGroup>
</LinearLayout>
<CheckBox
android:id="@+id/danmu"
android:layout_width="52dp"
android:layout_height="match_parent"
android:layout_marginLeft="8dp"
android:layout_marginRight="3dp"
android:background="@drawable/bg_input_danmu_switch"
android:button="@null"
android:visibility="gone" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp">
<EditText
android:id="@+id/input"
android:layout_width="0dp"
android:layout_height="34dp"
android:layout_marginLeft="3dp"
android:layout_weight="1"
android:background="@drawable/bg_live_input"
android:gravity="center_vertical"
android:hint="@string/live_say_something"
android:imeActionLabel="@string/send"
android:imeOptions="actionSend"
android:maxLength="50"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:singleLine="true"
android:textColor="@color/textColor"
android:textColorHint="@color/gray3"
android:textSize="14sp" />
<com.yunbao.common.custom.MyRadioButton
android:id="@+id/btn_send"
android:layout_width="48dp"
android:layout_height="match_parent"
android:layout_marginRight="3dp"
android:background="@drawable/bg_live_input_btn"
android:button="@null"
android:gravity="center" />
</LinearLayout>
</LinearLayout>