@ -169,7 +169,10 @@ class MainActivity : AppCompatActivity() {
}
R.id.toolbar_menu_compatible -> {
switchCompatible()
true
R.id.toolbar_menu_add_test_card -> {
addCard("Test Card", "012e000000114514")
R.id.toolbar_menu_settings -> {
@ -8,6 +8,9 @@
<item
android:id="@+id/toolbar_menu_compatible"
android:title="@string/compatible_on" />
android:id="@+id/toolbar_menu_add_test_card"
android:title="@string/add_test_card" />
android:id="@+id/toolbar_menu_settings"
android:title="@string/settings" />
@ -24,4 +24,5 @@
<string name="Emulating_compatible">正在模拟 %1$s...(兼容)</string>
<string name="mode_compatible">兼容模式</string>
<string name="mode_commmon">正常模式</string>
<string name="add_test_card">添加测试卡</string>
</resources>
@ -30,4 +30,5 @@
<string name="Emulating_compatible">Emulating %1$s...(compatible)</string>
<string name="mode_commmon">Common</string>
<string name="mode_compatible">Compatible</string>
<string name="add_test_card">Add test card</string>