String locationTime=new StringBuilder().append(gps_status_show.search_time_cost).append("秒").toString();\r
String hdop=new StringBuilder().append(String.valueOf(gps_status_show.hdop)).append("米").toString();\r
mFix.setText(fixed);\r
+ if (mFix.getText().toString().contains("notFixed")){\r
+ mFix.setBackgroundColor(Color.RED);\r
+ mFix.setTextColor(Color.WHITE);\r
+ }else{\r
+ mFix.setBackgroundColor(Color.GREEN);\r
+ mFix.setTextColor(Color.BLACK);\r
+ }\r
mStar.setText(satlites);\r
mHoop.setText(hdop);\r
mSearchCount.setText(locationTime);\r