Skip to content

Commit

Permalink
feat: set Trime to support inline suggestions for v30 onward
Browse files Browse the repository at this point in the history
  • Loading branch information
goofyz committed Jan 14, 2025
1 parent 239a344 commit dabb6fe
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions app/src/main/res/xml-v30/method.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
SPDX-FileCopyrightText: 2015 - 2024 Rime community
SPDX-License-Identifier: GPL-3.0-or-later
-->

<input-method xmlns:android="http://schemas.android.com/apk/res/android"
android:supportsSwitchingToNextInputMethod="true"
android:supportsInlineSuggestions="true"
android:settingsActivity="com.osfans.trime.ui.main.PrefMainActivity">

<!-- Add default system subtype so we can properly set the icon and label -->
<subtype android:label="@string/trime_app_slogan"
android:name="@string/trime_app_name"
android:icon="@mipmap/ic_app_icon"
android:imeSubtypeMode="keyboard"
android:imeSubtypeExtraValue="AsciiCapable" />

</input-method>

0 comments on commit dabb6fe

Please sign in to comment.