|
@@ -0,0 +1,251 @@
|
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
+<layout>
|
|
|
|
+<ScrollView
|
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:background="#EAF2F9">
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:padding="8dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_empty_titile"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:gravity="center_horizontal"
|
|
|
|
+ android:text="没有点阵屏设备"
|
|
|
|
+ android:textColor="@color/red_color"
|
|
|
|
+ android:textSize="32sp"
|
|
|
|
+ android:visibility="gone"/>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="240dp">
|
|
|
|
+ <!--左侧点阵屏列表-->
|
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
|
+ android:id="@+id/recycler_led_list"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_weight="2" />
|
|
|
|
+
|
|
|
|
+ <View
|
|
|
|
+ android:layout_width="1dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
|
+ android:background="@color/main_color" />
|
|
|
|
+
|
|
|
|
+ <!--右侧点阵屏具体设置-->
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
|
+ android:layout_weight="4"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_type"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:text="点阵屏规格:"
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_voice_on"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:text="语音播报:"
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_font_size"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:text="字体大小:"
|
|
|
|
+ android:textSize="24sp" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <!--点阵屏全局设置-->
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="80dp"
|
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
|
+ android:padding="10dp">
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_sync_time"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_margin="4dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="校正点阵屏时间"
|
|
|
|
+ android:textSize="16sp" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_reset_led"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_margin="4dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="重置点阵屏"
|
|
|
|
+ android:textSize="16sp" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_power_on_off"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_margin="4dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="开/关点阵屏"
|
|
|
|
+ android:textSize="16sp" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_check_font"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_margin="4dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="检查字库文件"
|
|
|
|
+ android:textSize="16sp" />
|
|
|
|
+
|
|
|
|
+ <Button
|
|
|
|
+ android:id="@+id/btn_update_font"
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:layout_margin="4dp"
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
+ android:text="更新字库文件"
|
|
|
|
+ android:textSize="16sp" />
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:padding="14dp"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_program_time"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="点阵屏呼叫信息显示时长:"
|
|
|
|
+ android:textSize="22sp" />
|
|
|
|
+
|
|
|
|
+ <SeekBar
|
|
|
|
+ android:id="@+id/skb_led_program_time"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
+ android:max="30"
|
|
|
|
+ android:maxHeight="2dp"
|
|
|
|
+ android:progressDrawable="@drawable/po_seekbar"
|
|
|
|
+ android:thumb="@drawable/seekbar_thumb"/>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:padding="14dp"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_volume"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="点阵屏语音呼叫音量:"
|
|
|
|
+ android:textSize="22sp" />
|
|
|
|
+
|
|
|
|
+ <SeekBar
|
|
|
|
+ android:id="@+id/skb_led_volume"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
+ android:max="10"
|
|
|
|
+ android:maxHeight="2dp"
|
|
|
|
+ android:progressDrawable="@drawable/po_seekbar"
|
|
|
|
+ android:thumb="@drawable/seekbar_thumb"/>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <LinearLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:padding="14dp"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/tv_led_voice_times"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="点阵屏语音呼叫次数:"
|
|
|
|
+ android:textSize="22sp" />
|
|
|
|
+
|
|
|
|
+ <SeekBar
|
|
|
|
+ android:id="@+id/skb_led_voice_times"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_gravity="center_vertical"
|
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
|
+ android:max="5"
|
|
|
|
+ android:maxHeight="2dp"
|
|
|
|
+ android:progressDrawable="@drawable/po_seekbar"
|
|
|
|
+ android:thumb="@drawable/seekbar_thumb"/>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+
|
|
|
|
+ <RelativeLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:padding="14dp">
|
|
|
|
+
|
|
|
|
+ <TextView
|
|
|
|
+ android:id="@+id/led_info_type_title"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="点阵屏默认显示内容:"
|
|
|
|
+ android:textSize="22sp" />
|
|
|
|
+
|
|
|
|
+ <RadioGroup
|
|
|
|
+ android:id="@+id/group_led_info_type"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
|
+ android:layout_toRightOf="@id/led_info_type_title"
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
+
|
|
|
|
+ <RadioButton
|
|
|
|
+ android:id="@+id/rb_date_time"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="仅日期时间"
|
|
|
|
+ android:textSize="22sp" />
|
|
|
|
+
|
|
|
|
+ <RadioButton
|
|
|
|
+ android:id="@+id/rb_custom_info"
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
|
+ android:text="添加自定义"
|
|
|
|
+ android:textSize="22sp" />
|
|
|
|
+ </RadioGroup>
|
|
|
|
+
|
|
|
|
+ <EditText
|
|
|
|
+ android:id="@+id/led_custom_content"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_below="@id/led_info_type_title"
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
+ android:textSize="22sp"
|
|
|
|
+ android:visibility="invisible" />
|
|
|
|
+ </RelativeLayout>
|
|
|
|
+ </LinearLayout>
|
|
|
|
+</ScrollView>
|
|
|
|
+</layout>
|