Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

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()
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #customize #change #color #size #MDCActivityIndicator #swift
ADD COMMENT
Topic
Name
4+6 =