|
|
|
@ -345,10 +345,15 @@
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
style="@style/settingBarStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:background="@color/setting_bar_color"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
android:paddingEnd="10dp">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
@ -386,147 +391,156 @@
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/layout_location_setting"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/accuracy"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
|
android:id="@+id/rg_accuracy"
|
|
|
|
|
style="@style/rg_style"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_accuracy_fine"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/accuracy_fine" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/accuracy"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_accuracy_coarse"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/accuracy_coarse" />
|
|
|
|
|
<RadioGroup
|
|
|
|
|
android:id="@+id/rg_accuracy"
|
|
|
|
|
style="@style/rg_style"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_accuracy_no_requirement"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/no_requirement" />
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_accuracy_fine"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/accuracy_fine" />
|
|
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_accuracy_coarse"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/accuracy_coarse" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_accuracy_no_requirement"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/no_requirement" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/power_requirement"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<RadioGroup
|
|
|
|
|
android:id="@+id/rg_power_requirement"
|
|
|
|
|
style="@style/rg_style"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_low"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/power_requirement_low" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/power_requirement"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_medium"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/power_requirement_medium" />
|
|
|
|
|
<RadioGroup
|
|
|
|
|
android:id="@+id/rg_power_requirement"
|
|
|
|
|
style="@style/rg_style"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_high"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/power_requirement_high" />
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_low"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:checked="true"
|
|
|
|
|
android:text="@string/power_requirement_low" />
|
|
|
|
|
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_no_requirement"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/no_requirement" />
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_medium"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/power_requirement_medium" />
|
|
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_high"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/power_requirement_high" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
<RadioButton
|
|
|
|
|
android:id="@+id/rb_power_requirement_no_requirement"
|
|
|
|
|
style="@style/rg_rb_style_wrap"
|
|
|
|
|
android:text="@string/no_requirement" />
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginEnd="@dimen/config_margin_10dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
</RadioGroup>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/min_interval"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.picker.XSeekBar
|
|
|
|
|
android:id="@+id/xsb_min_interval"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="120"
|
|
|
|
|
app:xsb_min="1" />
|
|
|
|
|
android:layout_marginEnd="@dimen/config_margin_10dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/seconds"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:text="@string/min_interval"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/config_margin_10dp"
|
|
|
|
|
android:text="@string/min_distance"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
<com.xuexiang.xui.widget.picker.XSeekBar
|
|
|
|
|
android:id="@+id/xsb_min_interval"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="120"
|
|
|
|
|
app:xsb_min="1" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.picker.XSeekBar
|
|
|
|
|
android:id="@+id/xsb_min_distance"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="120"
|
|
|
|
|
app:xsb_min="0" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/seconds"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/meter"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="@dimen/config_margin_10dp"
|
|
|
|
|
android:text="@string/min_distance"
|
|
|
|
|
android:textSize="10sp"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
tools:ignore="SmallSp" />
|
|
|
|
|
|
|
|
|
|
<com.xuexiang.xui.widget.picker.XSeekBar
|
|
|
|
|
android:id="@+id/xsb_min_distance"
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="120"
|
|
|
|
|
app:xsb_min="0" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:text="@string/meter"
|
|
|
|
|
android:textSize="12sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
@ -1072,11 +1086,14 @@
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
style="@style/settingBarStyle"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
|
android:background="@color/setting_bar_color"
|
|
|
|
|
android:baselineAligned="false"
|
|
|
|
|
android:paddingEnd="15dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:paddingStart="10dp"
|
|
|
|
|
android:paddingTop="10dp"
|
|
|
|
|
tools:ignore="RtlSymmetry">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
@ -1123,7 +1140,7 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="30"
|
|
|
|
|
app:xsb_max="10"
|
|
|
|
|
app:xsb_min="0" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@ -1154,7 +1171,7 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="99"
|
|
|
|
|
app:xsb_max="60"
|
|
|
|
|
app:xsb_min="1" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
@ -1185,7 +1202,7 @@
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginStart="5dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
app:xsb_max="99"
|
|
|
|
|
app:xsb_max="60"
|
|
|
|
|
app:xsb_min="1" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|