错误示范:
*****************************************************************************************************************************************************************************************
页面显示:
gps_view_activity.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/satellites_bg"
>
<TextView android:id="@+id/gps_status_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="状态"/>
<TextView android:id="@+id/lonlat_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="0 0"/>
//自定义控件显示卫星分布状态图
<ylybbs.study.mygpstest.SatellitesView
android:id="@+id/satellitesView"
android:lay