|
@@ -2,59 +2,79 @@
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
|
|
- android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
|
- android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
|
- android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
|
- android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
+<ScrollView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:layout_marginLeft="10dp"
|
|
|
|
|
+ android:layout_marginRight="10dp">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="测试须知"
|
|
|
|
|
- android:layout_gravity="center_horizontal"/>
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="计步功能:暂时只测试了放在裤子口袋里计步,晃动幅度判断,在持续运动10秒后才开始计数"
|
|
|
|
|
- />
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="屏蔽功能:连续运动一定时间才开始计步,屏蔽细微移动或者驾车时震动所带来的干扰,停止运动超过5秒,便重新开启屏蔽功能"
|
|
|
|
|
- />
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="通知栏提醒:, 后面是微动次数不算步数的,目前只是为了方便测试,目前版本只能在杀死进程下关闭UU计步"
|
|
|
|
|
- />
|
|
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/text_step"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:textColor="#00cc00"
|
|
|
|
|
- android:layout_centerInParent="true"
|
|
|
|
|
- android:textSize="20sp"
|
|
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
|
|
- android:layout_marginTop="200dp"
|
|
|
|
|
- android:text="暂未开启UU运动"
|
|
|
|
|
- />
|
|
|
|
|
- <Button
|
|
|
|
|
- android:id="@+id/open_uu_step_bt"
|
|
|
|
|
- style="@style/from_button_base_bule"
|
|
|
|
|
- android:layout_marginTop="5dp"
|
|
|
|
|
- android:layout_marginLeft="40dp"
|
|
|
|
|
- android:layout_marginRight="40dp"
|
|
|
|
|
- android:text="开启UU运动"
|
|
|
|
|
- android:visibility="visible"/>
|
|
|
|
|
- <Button
|
|
|
|
|
- android:id="@+id/close_uu_step_bt"
|
|
|
|
|
- style="@style/from_button_base_bule"
|
|
|
|
|
- android:layout_marginTop="5dp"
|
|
|
|
|
- android:layout_marginLeft="40dp"
|
|
|
|
|
- android:layout_marginRight="40dp"
|
|
|
|
|
- android:text="关闭UU运动" />
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="测试须知"
|
|
|
|
|
+ android:textSize="23sp"
|
|
|
|
|
+ android:layout_gravity="center_horizontal"/>
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:text="计步功能:触发感应器开始计步,在持续运动3秒后才开始计数,不足3秒停止则时间重置"
|
|
|
|
|
+ />
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:text="屏蔽功能:屏蔽细微移动或者驾车时震动所带来的干扰,停止运动超过5秒,便重新开启屏蔽功能"
|
|
|
|
|
+ />
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:text="通知栏提醒:实时通知更新步数,目前版本只能在杀死进程下关闭UU计步,以及通知栏暂时设置不可清除"
|
|
|
|
|
+ />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:text="计步防作弊:这里对波峰以及晃动的时间差做了特殊的处理,只记录放在口袋里的走动或者类似其的运动才会开始计步(主要外勤企业版的需求),所以测试者不要再拿着手机使劲摇的时候问我步数不变动、不准等问题了,请你走动起来测试,谢谢!!!"
|
|
|
|
|
+ />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/text_step"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:textColor="#00cc00"
|
|
|
|
|
+ android:layout_centerInParent="true"
|
|
|
|
|
+ android:textSize="20sp"
|
|
|
|
|
+ android:layout_gravity="center_horizontal"
|
|
|
|
|
+ android:layout_marginTop="150dp"
|
|
|
|
|
+ android:text="暂未开启UU运动"
|
|
|
|
|
+ />
|
|
|
|
|
+ <Button
|
|
|
|
|
+ android:id="@+id/open_uu_step_bt"
|
|
|
|
|
+ style="@style/from_button_base_bule"
|
|
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
|
|
+ android:text="开启UU运动"
|
|
|
|
|
+ android:visibility="visible"/>
|
|
|
|
|
+ <Button
|
|
|
|
|
+ android:id="@+id/close_uu_step_bt"
|
|
|
|
|
+ style="@style/from_button_base_bule"
|
|
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
|
|
+ android:layout_marginLeft="40dp"
|
|
|
|
|
+ android:layout_marginRight="40dp"
|
|
|
|
|
+ android:text="关闭UU运动" />
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+</ScrollView>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|