Search code examples
amazon-fire-tv

How can I customize the soft keyboard for Amazon fire-tv?


I am building an commercial app for fire-tv, and I need to change the soft keyboard. Add keys, resize the keyboard to fit screens etc. How can this be done on a fire-tv?


Solution

  • there are limited options for customizing the default on-screen keyboard.

    When defining an EditText item, in XML you can use android:inputType="number" to switch to a numeric keyboard.

    If you look at the UIWidgetsSample sample app in the Amazon Fire TV SDK there are some other options for customizing the on-screen keyboard (eg email) however for a large-scale customization you'll probably want to do as Hulu or Netflix have done and implement your own to have full control