4

I have an EditText. My imeOptions attribute for the EditText is actionGo. What do I have to do to make it display a '.com' key?

DonGru
  • 13,532
  • 8
  • 45
  • 55
aamiri
  • 2,420
  • 4
  • 38
  • 58

3 Answers3

2

This is controlled by android:inputType i think. Try textUri.

mibollma
  • 14,959
  • 6
  • 52
  • 69
1

Using the EditText attribute android:inputType="textWebEditText" should give you the .com and applicable web buttons

Abandoned Cart
  • 4,512
  • 1
  • 34
  • 41
1

For this you have to provide your edittext with input type attribute to do this.

android:inputType="textEmailAddress"
Andro Selva
  • 53,910
  • 52
  • 193
  • 240