mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-19 09:39:25 -04:00
Fix Microsoft swiftkey being out of spec.
This commit is contained in:
parent
f8c1248143
commit
7325018170
@ -117,9 +117,11 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
|
|||||||
* Clear the EditText from any leftover inputs
|
* Clear the EditText from any leftover inputs
|
||||||
* It does not affect the in-game input
|
* It does not affect the in-game input
|
||||||
*/
|
*/
|
||||||
|
@SuppressLint("SetTextI18n")
|
||||||
public void clear(){
|
public void clear(){
|
||||||
isDoingInternalChanges = true;
|
isDoingInternalChanges = true;
|
||||||
setText(" ");
|
//Braille space, doesn't trigger keyboard auto-complete
|
||||||
|
setText("\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800\u2800");
|
||||||
setSelection(5);
|
setSelection(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
<net.kdt.pojavlaunch.customcontrols.TouchCharInput
|
<net.kdt.pojavlaunch.customcontrols.TouchCharInput
|
||||||
android:imeOptions="flagNoFullscreen|flagNoPersonalizedLearning|actionSend"
|
android:imeOptions="flagNoFullscreen|flagNoPersonalizedLearning|actionSend"
|
||||||
android:inputType="text|textNoSuggestions|textImeMultiLine"
|
android:inputType="textFilter|textNoSuggestions|textImeMultiLine"
|
||||||
android:background="@android:color/darker_gray"
|
android:background="@android:color/darker_gray"
|
||||||
android:id="@+id/editTextTextPersonName2"
|
android:id="@+id/editTextTextPersonName2"
|
||||||
android:layout_width="1dp"
|
android:layout_width="1dp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user