|
@@ -80,234 +80,294 @@
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="@dimen/d491"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginLeft="@dimen/d16"
|
|
|
- android:layout_marginTop="@dimen/d10"
|
|
|
- android:layout_marginRight="@dimen/d28"
|
|
|
- android:layout_marginBottom="@dimen/d20"
|
|
|
- android:background="@drawable/shape_bed_bg"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/test_peripheral"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/font_size_18"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d7"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@string/test_peripheral_connect_check"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/font_size_13" />
|
|
|
-
|
|
|
+ android:layout_height="match_parent">
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/text_ll_1"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d15"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/text_sbaj_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:layout_width="@dimen/d491"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginLeft="@dimen/d16"
|
|
|
+ android:layout_marginTop="@dimen/d10"
|
|
|
+ android:layout_marginRight="@dimen/d28"
|
|
|
+ android:layout_marginBottom="@dimen/d20"
|
|
|
+ android:background="@drawable/shape_bed_bg"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/test_handle_call_button"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/sbaj_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/text_ll_2"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d15"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/text_sbqx_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:text="@string/test_peripheral"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_18"
|
|
|
+ android:textStyle="bold" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d7"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/test_handle_cancel_button"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/sbqx_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/text_ll_3"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d16"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/mbhj_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:text="@string/test_peripheral_connect_check"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/font_size_13" />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/test_device_call_button"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mbh_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/text_ll_4"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d16"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/mbhjqx_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/text_sbaj_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/test_handle_call_button"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sbaj_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d15"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/test_device_cancel_button"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/mbhjjqx_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/text_ll_5"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d16"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/sos_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/text_sbqx_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/test_handle_cancel_button"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sbqx_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_3"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
android:gravity="center"
|
|
|
- android:text="@string/test_sos_button"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/sos_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
- </LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/text_ll_7"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d16"
|
|
|
- android:clickable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/lycs_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/mbhj_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/test_device_call_button"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mbh_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_4"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/mbhjqx_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/test_device_cancel_button"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/mbhjjqx_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_5"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/sos_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/test_sos_button"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sos_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_9"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/sos_no_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="紧急取消按钮"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/sos_no_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_7"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
android:clickable="true"
|
|
|
- android:drawableLeft="@mipmap/lu"
|
|
|
- android:drawablePadding="@dimen/d16"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:paddingLeft="@dimen/d88"
|
|
|
- android:text="@string/test_mic_record"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/lycs_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/text_ll_6"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/d16"
|
|
|
- android:clickable="true"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/loar_button"
|
|
|
- android:layout_width="@dimen/d383"
|
|
|
- android:layout_height="@dimen/d48"
|
|
|
- android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/lycs_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:clickable="true"
|
|
|
+ android:drawableLeft="@mipmap/lu"
|
|
|
+ android:drawablePadding="@dimen/d16"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingLeft="@dimen/d88"
|
|
|
+ android:text="@string/test_mic_record"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/lycs_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_6"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
android:clickable="true"
|
|
|
android:gravity="center"
|
|
|
- android:text="loar信号测试"
|
|
|
- android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
- android:textSize="16sp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/loar_img"
|
|
|
- android:layout_width="@dimen/d16"
|
|
|
- android:layout_height="@dimen/d16"
|
|
|
- android:layout_marginLeft="@dimen/d8"
|
|
|
- android:background="@mipmap/gou"
|
|
|
- android:visibility="invisible" />
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/loar_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:clickable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="loar信号测试"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/loar_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/text_ll_8"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/d16"
|
|
|
+ android:clickable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/others_button"
|
|
|
+ android:layout_width="@dimen/d383"
|
|
|
+ android:layout_height="@dimen/d48"
|
|
|
+ android:background="@drawable/shape_main_hos_txt_bg"
|
|
|
+ android:clickable="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="其他测试"
|
|
|
+ android:textColor="@drawable/selector_bottom_btn_text_color"
|
|
|
+ android:textSize="16sp" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/others_img"
|
|
|
+ android:layout_width="@dimen/d16"
|
|
|
+ android:layout_height="@dimen/d16"
|
|
|
+ android:layout_marginLeft="@dimen/d8"
|
|
|
+ android:background="@mipmap/gou"
|
|
|
+ android:visibility="invisible" />
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
</LinearLayout>
|
|
|
|