Called after the rendering tree onBeforeDraw cycle is completed and before the onDraw cycle is called.
onBeforeDraw -->onLayout -->onDraw
Override this function to relocate elements within your UI element.