Added support for paint flags to TextViews