支持安卓13单独设置语言偏好。

This commit is contained in:
Cold-Mint 2023-06-26 23:20:11 +08:00
parent a6ece8956d
commit c1d7202dad
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,7 @@
<application
android:name=".RustApplication"
android:localeConfig="@xml/locale_config"
android:hasFragileUserData="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="zh" />
<locale android:name="en" />
<locale android:name="ja" />
<locale android:name="ru" />
</locale-config>