5.3
昨天:美化界面
今天,SOS定位弹窗
<?xml version=
"1.0"
encoding=
"utf-8"
?>
<LinearLayout xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:id=
"@+id/main"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:background=
"@drawable/sosbackground"
tools:context=
".Sos1"
>
<Button
android:id=
"@+id/emergency"
android:layout_width=
"321dp"
android:layout_height=
"327dp"
android:layout_gravity=
"center"
android:layout_marginLeft=
"0dip"
android:layout_marginTop=
"100dp"
android:background=
"@drawable/sos_red"
android:gravity=
"center"
android:text=
"SOS"
android:textColor=
"#ffffff"
android:textSize=
"100dp"
/>
<Button
android:id=
"@+id/map"
android:onClick=
"Lookmap"
android:layout_width=
"226dp"
android:layout_height=
"69dp"
android:layout_marginLeft=
"100dp"
android:layout_marginTop=
"90dp"
android:layout_marginRight=
"100dp"
android:background=
"#6E7578"
android:gravity=
"center"
android:text=
"地图"
android:textColor=
"#150101"
android:textSize=
"40sp"
/>
<TextView
android:id=
"@+id/locationTextView"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"20dp"
/>
</LinearLayout>