Several fake frameworks, including Mockito, work by overriding methods on mock or spy classes. However, the Android library uses several classes and methods finalthat are more suitable for compilation for embedded devices (since they skip the search for virtual methods), but are not mock friendly.
The latest versions of the Android developer kit have support for the scoffing Android library, which is identical to the regular Android support library, but removes the modifier everywhere final. This will allow you to make fun of classes like Viewand Contextwithout worrying about restrictions final.
See the documentation here: