indraja machani
indraja machani

Reputation: 679

how to solve import cannot be resolved error?

I am getting that error :

The import android.graphics.TableMaskFilter cannot be resolved

But I have seen TableMaskFilter class in android.graphics package of android-sdk folder and I am unable to see it inside the android4.0.3 library in Eclipse.

Upvotes: 2

Views: 1193

Answers (1)

Tom Mulcahy
Tom Mulcahy

Reputation: 5227

You can't. TableMaskFilter is annotated with @hide, which means it's definition is stripped from android.jar.

Upvotes: 6

Related Questions