added attr resource to attrs.xml, began layoutChildren() and onMeasure() implementation