AVLoadingIndicatorView
AVLoadingIndicatorView copied to clipboard
Cannot create view programatically with custom indicator
AVLoadingIndicatorView progressBar = new AVLoadingIndicatorView(context);
progressBar.setIndicator("BallClipRotateMultipleIndicator");
progressBar.setIndicatorColor(Color.BLUE);
still showing default indicator.
You are right, can't create dynamically. Instead, I put loading view inside a layout and inflate it where i will use.
You need to add the full package name
app:indicatorName="com.test.CustomPacmanIndicator"