release V47
authorsnickersun <scy@incartech.cn>
Wed, 2 Sep 2020 10:32:06 +0000 (18:32 +0800)
committersnickersun <scy@incartech.cn>
Wed, 2 Sep 2020 10:32:06 +0000 (18:32 +0800)
GPS界面修改支持中英文多语言

app/release/FactoryMode_V47_202009021830_release.apk [moved from app/release/FactoryMode_V46_202009021811_release.apk with 80% similarity]
app/release/output.json
app/src/main/java/mobile/miki/GPSActivity.java
app/src/main/res/layout/gps_full_test_activity.xml
app/src/main/res/values-ro/strings.xml
app/src/main/res/values-zh-rCN/strings.xml
app/src/main/res/values/strings.xml
app/version_code.properties

similarity index 80%
rename from app/release/FactoryMode_V46_202009021811_release.apk
rename to app/release/FactoryMode_V47_202009021830_release.apk
index 85b1021..c38957a 100644 (file)
Binary files a/app/release/FactoryMode_V46_202009021811_release.apk and b/app/release/FactoryMode_V47_202009021830_release.apk differ
index 07cebe4..6cbb6bd 100644 (file)
@@ -1 +1 @@
-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":46,"versionName":"202009021811","enabled":true,"outputFile":"FactoryMode_V46_202009021811_release.apk","fullName":"release","baseName":"release"},"path":"FactoryMode_V46_202009021811_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":47,"versionName":"202009021830","enabled":true,"outputFile":"FactoryMode_V47_202009021830_release.apk","fullName":"release","baseName":"release"},"path":"FactoryMode_V47_202009021830_release.apk","properties":{}}]
\ No newline at end of file
index d653a53..4b412b3 100644 (file)
@@ -216,8 +216,8 @@ public class GPSActivity extends BaseActivity  {
                     "Fixed ":"notFixed ").append(getLocalTime2()).toString();\r
             String satlites=new StringBuilder("used ").append(gps_status_show.used_gps_numbs).append(" in ")\r
                     .append(gps_status_show.numSatelliteList.size()).append("/ inMap ").append(gps_status_show.satlite_numbss).toString();\r
-            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
+            String locationTime=new StringBuilder().append(gps_status_show.search_time_cost).append(" ").append(getResources().getString(R.string.seconds)).toString();\r
+            String hdop=new StringBuilder().append(String.valueOf(gps_status_show.hdop)).append(" ").append(getResources().getString(R.string.meter)).toString();\r
             mFix.setText(fixed);\r
             if (mFix.getText().toString().contains("notFixed")){\r
                 mFix.setBackgroundColor(Color.RED);\r
index c8307e0..20f6684 100644 (file)
@@ -10,7 +10,7 @@
     <TextView\r
         android:id="@+id/ic_lc_fix_name"\r
         style="@style/IcTextStyle"\r
-        android:text="GPS状态:"\r
+        android:text="@string/gps_full_title"\r
         android:textSize="15sp" />\r
 \r
     <TextView\r
@@ -24,7 +24,7 @@
         android:id="@+id/ic_lc_star_name"\r
         style="@style/IcTextStyle"\r
         android:layout_below="@id/ic_lc_fix_name"\r
-        android:text="星数:"\r
+        android:text="@string/gps_star_count"\r
         android:textSize="15sp" />\r
 \r
     <TextView\r
@@ -39,7 +39,7 @@
         android:id="@+id/ic_lc_hoop_name"\r
         style="@style/IcTextStyle"\r
         android:layout_below="@id/ic_lc_star_name"\r
-        android:text="精度:"\r
+        android:text="@string/gps_dop"\r
         android:textSize="15sp" />\r
 \r
     <TextView\r
@@ -58,7 +58,7 @@
         android:layout_width="wrap_content"\r
         android:layout_height="wrap_content"\r
         android:layout_below="@id/ic_lc_hoop_name"\r
-        android:text="扫描时间:"\r
+        android:text="@string/gps_scan_time"\r
         android:textSize="15sp" />\r
 \r
     <TextView\r
index 48d39e2..634c1fb 100644 (file)
 \r
     <string name="open_dialer">正在打开通话界面,请稍后。。。</string>\r
 \r
+    <string name="gps_full_title">GPS状态:</string>\r
+    <string name="gps_star_count">星数:</string>\r
+    <string name="gps_dop">精度:</string>\r
+    <string name="gps_scan_time">扫描时间:</string>\r
+\r
+    <string name="seconds">秒</string>\r
+    <string name="meter">米</string>\r
 </resources>\r
index 8f87ad1..efbb6c1 100644 (file)
 \r
     <string name="no_heartrate">无心率设备!</string>\r
 \r
+\r
+    <string name="gps_full_title">GPS状态:</string>\r
+    <string name="gps_star_count">星数:</string>\r
+    <string name="gps_dop">精度:</string>\r
+    <string name="gps_scan_time">扫描时间:</string>\r
+\r
+    <string name="seconds">秒</string>\r
+    <string name="meter">米</string>\r
     <!-- add end -->\r
 \r
 </resources>
\ No newline at end of file
index dcddf87..ddf94b2 100644 (file)
     <string name="no_heartrate">No HeartRate device found!</string>\r
 \r
     <string name="hall">hall</string>\r
+\r
+\r
+    <string name="gps_full_title">GPS Stat:</string>\r
+    <string name="gps_star_count">Stars:</string>\r
+    <string name="gps_dop">Dop:</string>\r
+    <string name="gps_scan_time">Cost:</string>\r
+    <string name="seconds">Seconds</string>\r
+    <string name="meter">Meters</string>\r
+\r
 </resources>\r
index 6fea2fa..dbaba4f 100644 (file)
@@ -1,2 +1,2 @@
-#Wed Sep 02 18:11:47 CST 2020\r
-VERSION_CODE=46\r
+#Wed Sep 02 18:30:55 CST 2020\r
+VERSION_CODE=47\r