customize change color size MDCActivityIndicator swift
view.addSubview(activityIndicator)
activityIndicator.sizeToFit()
activityIndicator.autoCenterInSuperview()
activityIndicator.indicatorMode = .indeterminate
activityIndicator.cycleColors = [MaterialTwitterClient.colorAccent]
activityIndicator.radius = 16
activityIndicator.startAnimating()