2022-07-18 15:31:45 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-08-01 11:33:15 +08:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:layout_width="match_parent"
|
2022-08-01 11:33:15 +08:00
|
|
|
android:layout_height="100dp"
|
|
|
|
android:background="@drawable/background_horn"
|
2022-07-18 15:31:45 +08:00
|
|
|
android:gravity="center_vertical"
|
2022-08-01 11:33:15 +08:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="50dp">
|
|
|
|
|
2022-08-01 17:28:21 +08:00
|
|
|
<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"
|
2022-08-03 18:24:52 +08:00
|
|
|
android:visibility="gone"
|
2022-08-01 17:28:21 +08:00
|
|
|
android:textSize="12sp" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1" />
|
|
|
|
</RadioGroup>
|
2022-08-01 11:33:15 +08:00
|
|
|
</LinearLayout>
|
|
|
|
|
2022-08-01 17:28:21 +08:00
|
|
|
<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" />
|
2022-08-01 11:33:15 +08:00
|
|
|
|
|
|
|
<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>
|
|
|
|
|
2022-07-18 15:31:45 +08:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|