You want to add public getters and setters for the view attributes to provide dynamic configuration behavior: https://developer.android.com/training/custom-views/create-view.html#addprop .

After setting a view's attribute, call ```invalidate()``` to redraw the view with the new attribute value.