Smart views and classes for Android development