瀏覽代碼

Let the user know they need to enable DSDS on some devices

Peter Cai 3 年之前
父節點
當前提交
3a32257c96
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 3 0
      app/src/main/res/layout/activity_main.xml
  2. 1 1
      app/src/main/res/values/strings.xml

+ 3 - 0
app/src/main/res/layout/activity_main.xml

@@ -18,6 +18,9 @@
             android:id="@+id/no_euicc_placeholder"
             android:layout_width="match_parent"
             android:layout_height="match_parent"
+            android:layout_marginStart="40dp"
+            android:layout_marginEnd="40dp"
+            android:gravity="center"
             android:text="@string/no_euicc" />
     </FrameLayout>
 

+ 1 - 1
app/src/main/res/values/strings.xml

@@ -1,7 +1,7 @@
 <resources>
     <string name="app_name">OpenEUICC</string>
 
-    <string name="no_euicc">No eUICC found on this device.</string>
+    <string name="no_euicc">No eUICC found on this device.\nOn some devices, you may need to enable dual SIM first in the menu of this app.</string>
 
     <string name="dsds">Dual SIM</string>