Expected
Call Option should be displayed in #000000
Actual
Green
<Alloy>
<Window class="container" backgroundColor="white">
<View class="radio-group">
<Label autoStyle="true" id="cal" type="cal" class='radio selected'>Call Option</Label>
<Label autoStyle="true" id="put" type="put" class='radio'>Put Option</Label>
</View>
</Window>
</Alloy>
'.radio-group': {
top: 5,
layout: 'horizontal',
left: 50,
height: Ti.UI.SIZE
}
'.radio': {
top: 10,
left: 20,
font: {
fontSize: 18
},
color: '#B6B6B4'
}
'.radio[platform=android formFactor=handheld]': {
top: 10,
left: 10,
font: {
fontSize: 13
},
color: 'green'
}
'.radio-group[platform=android formFactor=handheld]': {
top: 5,
layout: 'horizontal',
left: 10,
height: Ti.UI.SIZE
}
'.selected': {
color: '#000000'
}
Hello, I tried your code and was not able to reproduce the issue. The Call Option is displayed in #000000. See the attachment.
ENVIRONMENT
SDK 5.1.1.GA CLI 5.1.0. Alloy 1.7.8 node v4.2.2 npm 2.14.7 Android 5.1.0 Thanks.Hi Sharif Thanks for your test. I can still reproduce the issue on both emulators and my physical device - see env below ###Physical device Android 5.0.1 Samsung Galaxy S4 ###Genymotion emulator Android 4.1.1 Samsung Galaxy S2 I will try your env later. Thanks
Hello, Are you using any custom theme in "app/themes" or in platform folder for Android? If you have theme file in app/themes, It will customize the assets and styles of the entire GUI. Test on updated version.Thanks.