Skip to content

Commit dabb6fe

Browse files
committed
feat: set Trime to support inline suggestions for v30 onward
1 parent 239a344 commit dabb6fe

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
SPDX-FileCopyrightText: 2015 - 2024 Rime community
5+
6+
SPDX-License-Identifier: GPL-3.0-or-later
7+
-->
8+
9+
<input-method xmlns:android="http://schemas.android.com/apk/res/android"
10+
android:supportsSwitchingToNextInputMethod="true"
11+
android:supportsInlineSuggestions="true"
12+
android:settingsActivity="com.osfans.trime.ui.main.PrefMainActivity">
13+
14+
<!-- Add default system subtype so we can properly set the icon and label -->
15+
<subtype android:label="@string/trime_app_slogan"
16+
android:name="@string/trime_app_name"
17+
android:icon="@mipmap/ic_app_icon"
18+
android:imeSubtypeMode="keyboard"
19+
android:imeSubtypeExtraValue="AsciiCapable" />
20+
21+
</input-method>

0 commit comments

Comments
 (0)