pdlivexp/live/src/main/res/layout/dialog_live_chat_input.xml
2022-10-08 10:01:58 +08:00

127 lines
4.6 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:drawableLeft="@mipmap/icon_general_message_p"
android:gravity="center"
android:text="@string/normal_barrage"
android:textColor="@color/white"
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:drawableLeft="@mipmap/icon_popup_screen"
android:gravity="center"
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:drawableStart="@mipmap/icon_world_horn"
android:gravity="center"
android:text="@string/whole_station_horn"
android:textColor="#FFB1B6C7"
android:textSize="12sp"
android:visibility="visible" />
<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">
<ImageView
android:id="@+id/ai_te"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="12.33dp"
android:layout_marginEnd="10.33dp"
android:layout_gravity="center_vertical"
android:src="@mipmap/icon_emphasis" />
<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_a"
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>