Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_freeworld
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_freeworld
Commits
65cff437
Commit
65cff437
authored
Aug 12, 2021
by
fengruiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
百度地图SDK隐藏百度logo
parent
a5026e55
Pipeline
#255
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
HomeFragment.kt
app/src/main/java/com/mints/street/main/home/HomeFragment.kt
+4
-3
fragment_home.xml
app/src/main/res/layout/fragment_home.xml
+1
-1
No files found.
app/src/main/java/com/mints/street/main/home/HomeFragment.kt
View file @
65cff437
...
@@ -126,8 +126,6 @@ class HomeFragment() : BaseFragment<FragmentHomeBinding, HomeViewModel>(), Senso
...
@@ -126,8 +126,6 @@ class HomeFragment() : BaseFragment<FragmentHomeBinding, HomeViewModel>(), Senso
override
fun
initData
()
{
override
fun
initData
()
{
super
.
initData
()
super
.
initData
()
geoCoder
()
geoCoder
()
Handler
().
postDelayed
({
isScrollLayoutClose
=
true
},
2000
)
Handler
().
postDelayed
({
isScrollLayoutClose
=
true
},
2000
)
RxUtils
.
onMultiClick
(
binding
.
stbBgSearch
)
{
RxUtils
.
onMultiClick
(
binding
.
stbBgSearch
)
{
...
@@ -261,7 +259,10 @@ class HomeFragment() : BaseFragment<FragmentHomeBinding, HomeViewModel>(), Senso
...
@@ -261,7 +259,10 @@ class HomeFragment() : BaseFragment<FragmentHomeBinding, HomeViewModel>(), Senso
//定位初始化
//定位初始化
initLocation
()
initLocation
()
// 设置比例尺控件的位置,必须在地图加载完成之后
// 设置比例尺控件的位置,必须在地图加载完成之后
Handler
().
postDelayed
({
binding
.
bmapView
.
scaleControlPosition
=
Point
(
20
,
60
)
},
500
)
Handler
().
postDelayed
({
binding
.
bmapView
.
scaleControlPosition
=
Point
(
20
,
60
)
binding
.
bmapView
.
logoPosition
=
LogoPosition
.
logoPostionCenterBottom
},
500
)
}
}
...
...
app/src/main/res/layout/fragment_home.xml
View file @
65cff437
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
android:id=
"@+id/bmapView"
android:id=
"@+id/bmapView"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
android:layout_height=
"0dp"
android:layout_height=
"0dp"
android:layout_marginBottom=
"
9
0dp"
android:layout_marginBottom=
"
8
0dp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment