Commit 2e2c236e7ca21a2031a51f5c5c3f301224499597
1 parent
c46aed54
1 还原起点位置距离判断精度为20米
Showing
2 changed files
with
3 additions
and
2 deletions
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/model/Constant.java
| @@ -31,7 +31,7 @@ public class Constant { | @@ -31,7 +31,7 @@ public class Constant { | ||
| 31 | public static final int CHECK_ACCURACY = 50;//判断用户是否完成的精度范围 | 31 | public static final int CHECK_ACCURACY = 50;//判断用户是否完成的精度范围 |
| 32 | public static final int LOCA_ACCURACY = 20;//定位过滤精度 | 32 | public static final int LOCA_ACCURACY = 20;//定位过滤精度 |
| 33 | public static final int LOCA_END_POINT_ACCURACY = 20;//终点位置比较精度 | 33 | public static final int LOCA_END_POINT_ACCURACY = 20;//终点位置比较精度 |
| 34 | - public static final int LOCA_START_POINT_ACCURACY = 200;//起点位置比较精度 | 34 | + public static final int LOCA_START_POINT_ACCURACY = 20;//起点位置比较精度 |
| 35 | public static final int FENCE_OFFSET = 70;//围栏偏离距离 | 35 | public static final int FENCE_OFFSET = 70;//围栏偏离距离 |
| 36 | public static final int FENCE_DENOISE = 70;//围栏去噪精度 | 36 | public static final int FENCE_DENOISE = 70;//围栏去噪精度 |
| 37 | } | 37 | } |
moudle_pedometer/src/main/res/layout/layout_run_detail_street_introduce.xml
| @@ -23,6 +23,7 @@ | @@ -23,6 +23,7 @@ | ||
| 23 | android:layout_width="wrap_content" | 23 | android:layout_width="wrap_content" |
| 24 | android:layout_height="wrap_content" | 24 | android:layout_height="wrap_content" |
| 25 | android:layout_marginTop="10dp" | 25 | android:layout_marginTop="10dp" |
| 26 | + android:layout_marginRight="10dp" | ||
| 26 | android:text="--" | 27 | android:text="--" |
| 27 | android:textColor="@color/text_black" | 28 | android:textColor="@color/text_black" |
| 28 | android:textSize="15sp" /> | 29 | android:textSize="15sp" /> |
| @@ -42,6 +43,6 @@ | @@ -42,6 +43,6 @@ | ||
| 42 | android:layout_height="wrap_content" | 43 | android:layout_height="wrap_content" |
| 43 | android:layout_marginTop="10dp" | 44 | android:layout_marginTop="10dp" |
| 44 | android:layout_marginBottom="60dp" | 45 | android:layout_marginBottom="60dp" |
| 45 | - android:scaleType="fitCenter" /> | 46 | + android:scaleType="fitCenter" /> |
| 46 | </LinearLayout> | 47 | </LinearLayout> |
| 47 | </layout> | 48 | </layout> |
| 48 | \ No newline at end of file | 49 | \ No newline at end of file |