Overridden Class Only Offers Static Methods
<p>I have a class that overrides TextView however if I try to use any of the member functions of either my class or TextView I get an error message in Eclipse stating  "Cannot make a static reference to the non-static method ##MEMBER FUNCTION## from the type View". Where ##MEMBER FUNCTION## is the method I am calling i.e. setLayoutParams(ViewGroup.LayoutParams). If I look in the suggestions dialog only the static methods are offered.</p>

<p>I have tried cutting my class down too;</p>

<pre><code>import android.widget.TextView;

public class MyClass extends TextView {

    public MyClass(Context context) {
        super(context);
    }
}
</code></pre>

<p>But I still get the same errors.</p>

<p>Thanks in advance,<br>
Mark</p>
