0

I want to change the appearance of AutoCompleteTextView. I mean, want to custom it with my ideas just the part of TextView. How can I do it. Am i suppose to create a complete new class from the base class View or I can extent the functionality of AutoCompleteText. Thanks in advance.

aneela
  • 1,457
  • 3
  • 24
  • 45

1 Answers1

1

There are two ways to do this

  • Extend the AutoComplete class
  • Use EditText class to implement custom AutoComplete TextView

you can find more answers here

Update

You can use OnDraw() method to perform custom drawings Example

Community
  • 1
  • 1
Ali Imran
  • 8,927
  • 3
  • 39
  • 50
  • I am sorry if didn't elaborate my question but I want to change the shape of edittext in autocomplete class.. I mean some particular shape with filling inside instead of its default appearance of a single line. – aneela Dec 03 '12 at 11:54
  • you mean there is onDraw() method of AutoCompleteTextView which i need to override for my customization?? – aneela Dec 03 '12 at 12:17
  • ooops, sorry i am just a newbie here :) as indicated from by reputation. – aneela Dec 04 '12 at 07:10