1

code:

    <EditText
    android:id="@+id/etDownloadGame"
    android:layout_width="0dp"
    android:layout_height="48dp"
    android:layout_marginStart="16dp"
    android:layout_marginEnd="16dp"
    android:layout_marginTop="16dp"
    android:digits="123456790qwertyuiopasdfghjklzxcvbnm_-"
    android:ems="10"
    android:hint="Enter game name"
    android:imeOptions="actionDone"
    android:importantForAutofill="no"
    android:inputType="textFilter"
    android:maxLines="1"
    android:textAllCaps="false"
    app:layout_constraintTop_toTopOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent" />

as I asked in the title of the post, I'm having trouble with removal of the auto capitalization of the first letter in that EditText field in an app I've been building (I've already looked through this, this, and this, but none of them resolved my problem)

thanks in advance :)

icecube
  • 111
  • 2
  • 16

1 Answers1

5

You can combine multiple input types with |. In this case you want to add text for text with no capitalization specified.

android:inputType="text|textFilter"

The types are listed here.

Tenfour04
  • 83,111
  • 11
  • 94
  • 154