Xml based custom button widget