mirror of
https://github.com/ZCShou/GoGoGo.git
synced 2026-06-05 21:00:50 +08:00
添加了使用360加固时,百度地图的相关配置;修改了定位按钮的布局
This commit is contained in:
parent
5dc139b0c5
commit
2423fc4d92
@ -40,10 +40,10 @@ dependencies {
|
||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.google.android.material:material:1.2.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
||||
implementation 'androidx.preference:preference:1.1.1'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'androidx.test:runner:1.2.0'
|
||||
androidTestImplementation 'androidx.test:runner:1.3.0'
|
||||
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
|
||||
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
@ -18,4 +18,7 @@
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
#-renamesourcefileattribute SourceFile
|
||||
-keep class com.baidu.** {*;}
|
||||
-keep class mapsdkvi.com.** {*;}
|
||||
-dontwarn com.baidu.**
|
||||
@ -55,6 +55,18 @@
|
||||
app:srcCompat="@android:drawable/ic_menu_delete"
|
||||
android:contentDescription="@string/fabtn_stop" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/pos_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:layout_marginBottom="130dp"
|
||||
android:onClick="goCurrentPosition"
|
||||
android:background="@android:color/transparent"
|
||||
android:src="@drawable/ic_home_position"
|
||||
android:contentDescription="@string/map_home"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/search_linear"
|
||||
android:layout_width="match_parent"
|
||||
|
||||
@ -106,17 +106,5 @@
|
||||
android:text="@string/map_pic_hot"
|
||||
tools:ignore="RelativeOverlap" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/pos_btn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginEnd="9dp"
|
||||
android:layout_marginBottom="150dip"
|
||||
android:onClick="goCurrentPosition"
|
||||
android:background="@android:color/transparent"
|
||||
android:contentDescription="@string/map_home"
|
||||
app:srcCompat="@drawable/ic_home_position" />
|
||||
</RelativeLayout>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Loading…
Reference in New Issue
Block a user