Need to remove the clock ui calculation from ondraw. Can be improved by calculate it once when new size is available and in ondraw only draw it.