This question is locked. New answers and comments are not allowed.
Hi,
in our app, we have have an ActivityIndicator within our RadSideDrawer component and we noticed, that the color for this ActivityIndicator affects all other ActivityIndicators in our app as well.
Note: this happens only on Android 4.X (we tested Android 4.2.2 and 4.4.2). On Android 5, 6 and 7, the color of each ActivityIndicator is set properly.
You should be able to reproduce this behaviour with the wollowing sample code:
<!-- main-page.xml --><Page xmlns:drawer="nativescript-telerik-ui-pro/sidedrawer" navigatedTo="pageMainNavigated"> <ActionBar> <NavigationButton icon="res://drawericon" tap="toggleDrawer" /> </ActionBar> <drawer:RadSideDrawer id="mySideDrawer"> <drawer:RadSideDrawer.mainContent> <StackLayout> <ActivityIndicator color="blue" busy="true" visibility="visible"/> </StackLayout> </drawer:RadSideDrawer.mainContent> <drawer:RadSideDrawer.drawerContent> <StackLayout backgroundColor="#124a59"> <ActivityIndicator color="red" busy="true" visibility="visible"/> </StackLayout> </drawer:RadSideDrawer.drawerContent> </drawer:RadSideDrawer></Page>
<!-- main-page.js -->var drawerModule = require("nativescript-telerik-ui-pro/sidedrawer");var mySideDrawer;var page;exports.pageMainNavigated = function(args) { page = args.object; mySideDrawer= page.getViewById('mySideDrawer'); mySideDrawer.setDrawerLocation(drawerModule.SideDrawerLocation.Left);};exports.toggleDrawer = function() { mySideDrawer.toggleDrawerState();};
We tested on NativeScript 2.3.0 and 2.4.1.
Please tell me, if this can be fixed or if there is any workaround for this.
Best regards
