|
@@ -0,0 +1,403 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<RelativeLayout
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="#7CC5F0">
|
|
|
+
|
|
|
+ <!-- 1.主机麦克风输入(免提)-->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_main_mic_volume1"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_mic_title1"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="转换盒主机麦克风输入(免提):"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_mic1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_toRightOf="@+id/tv_main_mic_title1"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_main_mic1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@+id/tv_main_mic_title1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 2.主机麦克风输入(手柄)-->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_main_mic_volume2"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/rl_main_mic_volume1"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_mic_title2"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="转换盒主机麦克风输入(手柄):"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_mic2"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_main_mic_title2"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_main_mic2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_main_mic_title2"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 3.主机喇叭输出(免提)-->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_main_speaker_volume1"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_main_mic_volume1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_speak_title1"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="转换盒主机喇叭输出(免提)"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_speak1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_main_speak_title1"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_main_speak1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_main_speak_title1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 4.主机喇叭输出(手柄) -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_main_speaker_volume2"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_main_mic_volume2"
|
|
|
+ android:layout_toRightOf="@id/rl_main_mic_volume1"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_speak_title2"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="转换盒主机喇叭输出(手柄)"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_main_speak2"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_main_speak_title2"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_main_speak2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_main_speak_title2"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 5.分机麦克风输入(免提) -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_sub_mic_volume1"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_main_speaker_volume1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_mic_title1"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="分机麦克风输入(免提)"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_mic1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_sub_mic_title1"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_sub_mic1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_sub_mic_title1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 6.分机麦克风输入(手柄) -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_sub_mic_volume2"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_main_speaker_volume2"
|
|
|
+ android:layout_toRightOf="@id/rl_sub_mic_volume1"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_mic_title2"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="分机麦克风输入(手柄)"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_mic2"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_sub_mic_title2"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_sub_mic2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_sub_mic_title2"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 7.分机喇叭输出(免提) -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_sub_speaker_volume1"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_sub_mic_volume1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_speaker_title1"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="分机喇叭输出(免提)"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_speaker1"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_sub_speaker_title1"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_sub_speaker1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_sub_speaker_title1"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <!-- 8.分机喇叭输出(手柄) -->
|
|
|
+ <RelativeLayout
|
|
|
+ android:id="@+id/rl_sub_speaker_volume2"
|
|
|
+ android:layout_width="@dimen/volume_settings_bar_width"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_sub_mic_volume2"
|
|
|
+ android:layout_toRightOf="@id/rl_sub_speaker_volume1"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_speaker_title2"
|
|
|
+ style="@style/TextViewStyle1"
|
|
|
+ android:text="分机喇叭输出(手柄)"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sub_speaker2"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_toRightOf="@id/tv_sub_speaker_title2"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="10"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textColor="@color/colorPrimaryDark" />
|
|
|
+
|
|
|
+ <SeekBar
|
|
|
+ android:id="@+id/sb_sub_speaker2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/tv_sub_speaker_title2"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:maxHeight="4dp"
|
|
|
+ android:minHeight="4dp"
|
|
|
+ android:max="255"
|
|
|
+ android:progress="0"
|
|
|
+ android:progressDrawable="@drawable/seek_bar_bg"
|
|
|
+ android:scrollbarStyle="insideInset"
|
|
|
+ android:thumb="@drawable/seek_bar_thumb"/>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_below="@id/rl_sub_speaker_volume1"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_restore"
|
|
|
+ style="?android:buttonBarButtonStyle"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginStart="80dp"
|
|
|
+ android:layout_marginEnd="80dp"
|
|
|
+ android:text="恢复默认值"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"/>
|
|
|
+ <Button
|
|
|
+ android:id="@+id/btn_submit"
|
|
|
+ style="?android:buttonBarButtonStyle"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginStart="80dp"
|
|
|
+ android:layout_marginEnd="80dp"
|
|
|
+ android:text="确定"
|
|
|
+ android:textSize="20sp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</RelativeLayout>
|