<?xml version="1.0" encoding="utf-8"?>
<merge xmlns:android="http://schemas.android.com/apk/res/android"
       xmlns:app="http://schemas.android.com/apk/res-auto"
       xmlns:tools="http://schemas.android.com/tools"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">

    <androidx.constraintlayout.widget.Guideline
        android:id="@+id/gl_left"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        app:layout_constraintGuide_percent="0.25"
        />

    <androidx.constraintlayout.widget.Guideline
        android:id="@+id/gl_right"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        app:layout_constraintGuide_percent="0.63"
        />

    <TextView
        android:id="@+id/setting_ui_flyc_compass_title"
        style="@style/uxsdk_setting_ui_desc_txt"
        android:layout_marginTop="10dp"
        android:text="@string/uxsdk_setting_menu_title_sensors_state_na_info"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <TextView
        android:id="@+id/setting_ui_flyc_compass_vector"
        style="@style/uxsdk_setting_ui_desc_txt"
        android:layout_marginTop="@dimen/setting_flyc_sensor_imu_title_sub_space"
        android:text="@string/setting_ui_redundancy_sensor_compass_vector"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintStart_toStartOf="@+id/gl_left"
        app:layout_constraintTop_toBottomOf="@+id/setting_ui_flyc_compass_title"/>

    <TextView
        style="@style/uxsdk_setting_ui_desc_txt"
        android:text="@string/uxsdk_setting_ui_redundancy_sensor_compass_remark"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintStart_toStartOf="@+id/gl_right"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_vector"/>


    <TextView
        android:id="@+id/setting_ui_flyc_compass_1_txt"
        style="@style/uxsdk_setting_ui_item_txt"
        android:layout_width="wrap_content"
        android:layout_marginTop="@dimen/setting_flyc_sensor_imu_item_margin_top"
        android:drawableStart="@drawable/uxsdk_setting_ui_flyc_circle"
        android:drawablePadding="@dimen/setting_flyc_sensor_calibrate_view_text_drawable_padding"
        android:text="@string/uxsdk_setting_ui_redundancy_sensor_compass1_label"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/setting_ui_flyc_compass_vector"/>

    <dji.v5.ux.core.base.ProgressStatusWidget
        android:id="@+id/setting_ui_flyc_compass_1_progress"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/setting_flyc_sensor_imu_progress_margin_end"
        app:layout_constraintEnd_toStartOf="@id/gl_right"
        app:layout_constraintStart_toStartOf="@+id/gl_left"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_1_txt"/>

    <TextView
        android:id="@+id/setting_ui_flyc_compass_1_desc"
        style="@style/uxsdk_setting_ui_desc_txt"
        android:layout_width="0dp"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        android:minHeight="@dimen/setting_flyc_sensor_calibrate_desc_min_height"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0"
        app:layout_constraintStart_toStartOf="@+id/gl_right"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_1_txt"
        tools:text="test code"/>

    <androidx.constraintlayout.widget.Group
        android:id="@+id/setting_ui_flyc_compass_ly1"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:constraint_referenced_ids="setting_ui_flyc_compass_1_txt,setting_ui_flyc_compass_1_progress,setting_ui_flyc_compass_1_desc"/>

    <TextView
        android:id="@+id/setting_ui_flyc_compass_2_txt"
        style="@style/uxsdk_setting_ui_item_txt"
        android:layout_width="wrap_content"
        android:layout_marginTop="@dimen/setting_flyc_sensor_calibrate_item_margin_top"
        android:drawableStart="@drawable/uxsdk_setting_ui_flyc_circle"
        android:drawablePadding="@dimen/setting_flyc_sensor_calibrate_view_text_drawable_padding"
        android:text="@string/uxsdk_setting_ui_redundancy_sensor_compass2_label"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintStart_toStartOf="@id/setting_ui_flyc_compass_1_txt"
        app:layout_constraintTop_toBottomOf="@+id/setting_ui_flyc_compass_1_desc"/>

    <dji.v5.ux.core.base.ProgressStatusWidget
        android:id="@+id/setting_ui_flyc_compass_2_progress"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/setting_flyc_sensor_imu_progress_margin_end"
        app:layout_constraintEnd_toStartOf="@id/gl_right"
        app:layout_constraintStart_toStartOf="@+id/gl_left"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_2_txt"/>

    <TextView
        android:id="@+id/setting_ui_flyc_compass_2_desc"
        style="@style/uxsdk_setting_ui_desc_txt"
        android:layout_width="0dp"
        android:minHeight="@dimen/setting_flyc_sensor_calibrate_desc_min_height"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0"
        app:layout_constraintStart_toStartOf="@+id/gl_right"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_2_txt"
        tools:text="test code"/>


    <androidx.constraintlayout.widget.Group
        android:id="@+id/setting_ui_flyc_compass_ly2"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:visibility="gone"
        app:constraint_referenced_ids="setting_ui_flyc_compass_2_txt,setting_ui_flyc_compass_2_progress,setting_ui_flyc_compass_2_desc"/>

    <TextView
        android:id="@+id/setting_ui_flyc_compass_3_txt"
        style="@style/uxsdk_setting_ui_item_txt"
        android:layout_width="wrap_content"
        android:layout_marginTop="@dimen/setting_flyc_sensor_calibrate_item_margin_top"
        android:drawableStart="@drawable/uxsdk_setting_ui_flyc_circle"
        android:drawablePadding="@dimen/setting_flyc_sensor_calibrate_view_text_drawable_padding"
        android:text="@string/uxsdk_setting_ui_redundancy_sensor_compass3_label"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintStart_toStartOf="@id/setting_ui_flyc_compass_1_txt"
        app:layout_constraintTop_toBottomOf="@+id/setting_ui_flyc_compass_2_desc"/>

    <dji.v5.ux.core.base.ProgressStatusWidget
        android:id="@+id/setting_ui_flyc_compass_3_progress"
        android:layout_width="0dp"
        android:layout_height="wrap_content"
        android:layout_marginEnd="@dimen/setting_flyc_sensor_imu_progress_margin_end"
        app:layout_constraintEnd_toStartOf="@id/gl_right"
        app:layout_constraintStart_toStartOf="@+id/gl_left"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_3_txt"/>


    <TextView
        android:id="@+id/setting_ui_flyc_compass_3_desc"
        style="@style/uxsdk_setting_ui_desc_txt"
        android:layout_width="0dp"
        android:minHeight="@dimen/setting_flyc_sensor_calibrate_desc_min_height"
        android:textSize="@dimen/setting_flyc_sensor_content_text_size"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0"
        app:layout_constraintStart_toStartOf="@+id/gl_right"
        app:layout_constraintTop_toTopOf="@+id/setting_ui_flyc_compass_3_txt"
        tools:text="test code"/>

    <androidx.constraintlayout.widget.Group
        android:id="@+id/setting_ui_flyc_compass_ly3"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:visibility="gone"
        app:constraint_referenced_ids="setting_ui_flyc_compass_3_txt,setting_ui_flyc_compass_3_progress,setting_ui_flyc_compass_3_desc"/>

    <include
        android:id="@+id/setting_ui_flyc_compass_progress_tip_layout"
        layout="@layout/uxsdk_view_setting_flyc_sensor_progress_tip"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center_horizontal"
        android:layout_marginTop="30dp"
        app:layout_constraintTop_toBottomOf="@+id/setting_ui_flyc_compass_3_desc"/>

    <View
        android:id="@+id/setting_menu_compass_divider_1"
        android:layout_width="match_parent"
        android:layout_height="@dimen/uxsdk_divider_size_medium"
        android:layout_marginTop="@dimen/setting_flyc_sensor_imu_calibrate_margin_top"
        android:background="@color/uxsdk_dic_color_c20_divider"
        app:layout_constraintTop_toBottomOf="@+id/setting_ui_flyc_compass_progress_tip_layout"
        />

    <Button
        android:id="@+id/setting_menu_compass_calibrate"
        android:layout_width="match_parent"
        android:layout_height="@dimen/setting_flyc_sensor_calibrate_btn_height"
        android:layout_gravity="center_horizontal"
        android:background="@drawable/uxsdk_selector_blue_rect_mask"
        android:gravity="center"
        android:text="@string/uxsdk_setting_ui_redundancy_sensor_compass_calc"
        android:textAllCaps="false"
        android:textColor="@color/uxsdk_blue_highlight"
        android:textSize="@dimen/setting_flyc_sensor_imu_calibrate_text_size"
        app:layout_constraintTop_toBottomOf="@+id/setting_menu_compass_divider_1"/>

    <View
        android:id="@+id/setting_menu_compass_divider_2"
        android:layout_width="match_parent"
        android:layout_height="@dimen/uxsdk_divider_size_medium"
        android:background="@color/uxsdk_dic_color_c20_divider"
        app:layout_constraintTop_toBottomOf="@+id/setting_menu_compass_calibrate"
        />

</merge>