mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 05:18:39 +08:00
fix: android ActivityIndicator custom color affecting other indicators on the page (#9026)
* fix(core): Setting color of an Android ActivityIndicator changed the color of the rest of ActivityIndicators in the same page. * test: Updated ActivityIndicator sample. * perf: Call mutate() only if color is actually changed.
This commit is contained in:

committed by
GitHub

parent
d09a564296
commit
e16bc606ef
@ -1,4 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<Page>
|
||||
<ActivityIndicator busy="true" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
<StackLayout>
|
||||
<ActivityIndicator busy="true" color="red" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
<ActivityIndicator busy="true" color="green" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
<ActivityIndicator busy="true" color="blue" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
<ActivityIndicator busy="true" color="" verticalAlignment="center" horizontalAlignment="center"/>
|
||||
</StackLayout>
|
||||
</Page>
|
||||
|
Reference in New Issue
Block a user