activity_pedometer.xml 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <basepedo.slidinguppanel.SlidingUpPanelLayout
  2. xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:sothree="http://schemas.android.com/apk/res-auto"
  5. android:id="@+id/sliding_layout"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:gravity="bottom"
  9. sothree:umanoPanelHeight="68dp"
  10. sothree:umanoShadowHeight="4dp"
  11. sothree:umanoParallaxOffset="100dp"
  12. sothree:umanoDragView="@+id/ll_top"
  13. sothree:umanoOverlay="true"
  14. sothree:umanoScrollableView="@+id/list">
  15. <!-- MAIN CONTENT -->
  16. <FrameLayout
  17. android:layout_width="match_parent"
  18. android:layout_height="match_parent"
  19. android:orientation="vertical">
  20. <TextView
  21. android:id="@+id/text_step"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:gravity="center"
  25. android:text="暂未开启UU运动"
  26. android:textColor="#00cc00"
  27. android:clickable="true"
  28. android:focusable="false"
  29. android:focusableInTouchMode="true"
  30. android:textSize="16sp" />
  31. </FrameLayout>
  32. <!-- SLIDING LAYOUT -->
  33. <LinearLayout
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent"
  36. android:background="#ffffff"
  37. android:clickable="true"
  38. android:focusable="false"
  39. android:id="@+id/dragView"
  40. android:orientation="vertical"
  41. >
  42. <LinearLayout
  43. android:layout_width="match_parent"
  44. android:layout_height="match_parent"
  45. android:orientation="vertical"
  46. android:layout_marginTop="20dp"
  47. android:layout_marginLeft="10dp"
  48. android:layout_marginRight="10dp">
  49. <TextView
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:text="当前版本须知"
  53. android:textSize="18sp"
  54. android:layout_gravity="center_horizontal"/>
  55. <TextView
  56. android:layout_width="wrap_content"
  57. android:layout_height="wrap_content"
  58. android:layout_marginTop="5dp"
  59. android:text="计步功能:触发感应器开始计步,在持续运动3秒后才开始有效计数,不足3秒停止则时间重置,新增步数重置(屏蔽细微移动)。"
  60. />
  61. <TextView
  62. android:visibility="gone"
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_marginTop="5dp"
  66. android:text="屏蔽功能:屏蔽细微移动或者驾车时震动所带来的干扰,停止运动超过3秒,便重新开启屏蔽功能(目前版本又去掉了,具体要否再协商)。"
  67. />
  68. <TextView
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:layout_marginTop="5dp"
  72. android:text="通知栏提醒:实时通知更新步数,但最终只显示持续运动超过3秒的有效步数,通知栏便于实时测试观察,暂时不做点击取消显示(低版本号手机显示会有延迟效果)。"
  73. />
  74. <TextView
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:layout_marginTop="5dp"
  78. android:text="计步优化:添加数据库记录与更新数据;添加广播事件,监听锁屏、关屏、关机等事件,并进行保存数据的相关操作;调整计步精度;并且数据跨天清零。"/>
  79. <TextView
  80. android:visibility="gone"
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_marginTop="5dp"
  84. android:text="计步防作弊:这里对波峰以及晃动的时间差做了特殊的处理,只记录放在口袋里的走动或者类似其的运动才会开始计步(主要外勤企业版的需求),所以测试者不要再拿着手机使劲摇的时候问我步数不变动、不准等问题了,请你走动起来测试,谢谢!!!"
  85. />
  86. <TextView
  87. android:layout_width="match_parent"
  88. android:layout_height="match_parent"
  89. android:layout_marginTop="5dp"
  90. android:text="预关闭功能:考虑下个版本外勤需要,如果当前存在外勤直接关闭不合适,所以预关闭。下次开启应用时判断是否有外勤,无则不开启UU运动,有则开启UU运动。目前UU运动只属于开放测试阶段。"/>
  91. </LinearLayout>
  92. </LinearLayout>
  93. </basepedo.slidinguppanel.SlidingUpPanelLayout>