Android custom view attributes programmatically. If you create a View via a constructor (e.