Reputation: 605
When I use the component TAniIndicator in my app for Android, the Indicator sometimes (most of) show two indicators, one is the Android version, the other is a Windows version. This is a bug or I'm just forgeting to check something in the inspector?
A image to illustrate:
This is the code that I use to create the indicator in runtime:
aiEmpresa := TAniIndicator.Create(vsEmpresa);
aiEmpresa.Parent := vsEmpresa;
aiEmpresa.Align := TAlignLayout.Center;
aiEmpresa.Visible := true;
aiEmpresa.Enabled := true;
Upvotes: 3
Views: 798
Reputation: 605
I fixed the problem with this command: aiEmpresa.StyleLookup := 'aniindicatorstyle';
Upvotes: 2