Fix Microsoft swiftkey being out of spec.

This commit is contained in:
SerpentSpirale 2021-08-24 02:55:18 +02:00
parent f8c1248143
commit 7325018170
2 changed files with 4 additions and 2 deletions

View File

@ -117,9 +117,11 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
* Clear the EditText from any leftover inputs
* It does not affect the in-game input
*/
@SuppressLint("SetTextI18n")
public void clear(){
isDoingInternalChanges = true;
setText(" ");
//Braille space, doesn't trigger keyboard auto-complete
setText("\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800");
setSelection(5);
}

View File

@ -48,7 +48,7 @@
<net.kdt.pojavlaunch.customcontrols.TouchCharInput
android:imeOptions="flagNoFullscreen|flagNoPersonalizedLearning|actionSend"
android:inputType="text|textNoSuggestions|textImeMultiLine"
android:inputType="textFilter|textNoSuggestions|textImeMultiLine"
android:background="@android:color/darker_gray"
android:id="@+id/editTextTextPersonName2"
android:layout_width="1dp"