1

In my layout I have a subclass of a TextView.

        <com.class.path.views.CustomTextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="HELLO WORLD!"
        />

This works fine. My problem is that the "auto complete" doesn't work. If I remove the class path and just put TextView instead the "auto complete" works like a charm again.

This isnt a big issue but it is a bit annoying when you cant remember the android:properties that you need.

So my question is should this work? is it a documented bug?

inazaruk
  • 74,247
  • 24
  • 188
  • 156
Joakim
  • 446
  • 4
  • 8

1 Answers1

1

This is a known issue and this is to be fixed in ADT 12 (current latest version is ADT 11).

We've fixed a number of smaller issues in ADT 12 that don't deserve blog posts on their own, but here's a quick roundup:
...
* Code completion inside a custom view layout has been improved
...

Source: http://tools.android.com/recent/adt12bugfixroundup

inazaruk
  • 74,247
  • 24
  • 188
  • 156
  • Thanks for that. Any idea as to when ADT 12 is coming out? – Joakim Jun 15 '11 at 18:16
  • ADT 11 was released two weeks ago. My guess is that ADT 12 will be released in one month. But you can download ADT 12 preview right now: http://tools.android.com/ – inazaruk Jun 15 '11 at 19:00
  • @inazaruk +1 for the detailed, immediate answer. Joakim, you should accept answers to your questions by clicking on the checkmark icon. – cdhabecker Aug 01 '11 at 19:59