Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
石璀亮
/
agenew_a16_sos
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit cf18eadf
authored
Dec 16, 2019
by
韩倩倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏停止服务、定位设置按钮,修改服务说明文字
1 parent
8603bea0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
app/src/main/res/layout/location_nav.xml
app/src/main/res/values/strings.xml
app/src/main/res/layout/location_nav.xml
View file @
cf18ead
...
...
@@ -4,7 +4,8 @@
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#FFFFFF"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
android:gravity=
"center_vertical"
>
<LinearLayout
android:layout_width=
"match_parent"
...
...
@@ -25,7 +26,8 @@
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"5px"
>
android:padding=
"5px"
android:visibility=
"gone"
>
<Button
android:id=
"@+id/service_stop"
...
...
@@ -35,13 +37,15 @@
android:focusable=
"true"
android:text=
"@string/title_server_stop"
android:textColor=
"#000000"
android:textSize=
"25px"
/>
android:textSize=
"25px"
android:visibility=
"gone"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:padding=
"5px"
>
android:padding=
"5px"
android:visibility=
"gone"
>
<Button
android:id=
"@+id/service_setting"
...
...
@@ -51,7 +55,8 @@
android:focusable=
"true"
android:text=
"@string/title_service_setting"
android:textColor=
"#000000"
android:textSize=
"25px"
/>
android:textSize=
"25px"
android:visibility=
"gone"
/>
</LinearLayout>
<LinearLayout
...
...
@@ -70,5 +75,4 @@
android:textSize=
"25px"
/>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
app/src/main/res/values/strings.xml
View file @
cf18ead
...
...
@@ -19,7 +19,7 @@
<string
name=
"user_tips_content"
translatable=
"false"
>
每次重启开机后均会发送定位信息,可保存后重启手机测试。
</string>
<string
name=
"other_tips"
translatable=
"false"
>
测试接口: http://202.100.179.139:8088/api 正式接口: http://202.100.190.58:8090/api/cstmzPosition
</string>
<!-- hengfeng -->
<string
name=
"service_info"
translatable=
"false"
>
\t当您完成了“申请开通”的操作后,即表示您同意在服务有效的时间段内授权本服务获取您的位置。服务有效时间段依据您与服务商或运营商签订的协议而定。
您可查看本手机的定位信息、设置电子围栏(安全区域)范围、收取跨越电子围栏(安全区域)的报警信息、查看当日及最近30天内的定位轨迹
。\n
<string
name=
"service_info"
translatable=
"false"
>
\t当您完成了“申请开通”的操作后,即表示您同意在服务有效的时间段内授权本服务获取您的位置。服务有效时间段依据您与服务商或运营商签订的协议而定。
监护人可在手机端查看本手机的定位信息、设置电子围栏(安全区域)范围、收取跨越电子围栏(安全区域)的报警信息、查看当日及最近30天内的定位轨迹。若需停止服务,需由监护人在手机端进行设置
。\n
\t本定位服务的定位准确性和及时性与手机性能、定位信号强度、信息上传频率、网络情况等诸多因素有关,故本定位服务只起到辅助监护作用,不承担因定位不准确或不及时导致的任何问题、事故或纠纷,特此声明。\n
</string>
<string
name=
"title_nav"
translatable=
"false"
>
定位服务
</string>
<string
name=
"toast_tips_unavailable"
translatable=
"false"
>
未开通定位服务
</string>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment