[AC-1030] Icon in actionBar on Android doesn't work with SDK 4.0.0RC2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2015-05-08T22:14:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy |
Labels | n/a |
Reporter | Harish Mridha |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-05-08T09:27:36.000+0000 |
Updated | 2016-03-08T07:37:22.000+0000 |
Description
Details :
[Icon in actionBar on Android doesn't work with SDK 4.0.0RC2](https://community.appcelerator.com/topic/351/icon-in-actionbar-on-android-doesn-t-work-with-sdk-4-0-0rc2/3)
Please have a look on screen shot
1. actionBar with icon (3.5.0 GA).
2. actionBar without icon (4.0.0 RC2).
*Test Code*
<Alloy>
<Window class="container">
<ActionBar id="actionbar" title="5.0.0 GA" />
<Label id="label" onClick="doClick">Hello, World</Label>
</Window>
</Alloy>
".container": {
backgroundColor:"white"
}
"Label": {
width: Ti.UI.SIZE,
height: Ti.UI.SIZE,
color: "#000"
}
"#label": {
font: {
fontSize: 12
}
}
"#actionbar": {
icon: "/appicon.png",
displayHomeAsUp: true,
// backgroundImage: "/actionbackground.png"
}
Thanks
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2015-05-08 at 3.14.50 PM.png | 2015-05-08T09:27:33.000+0000 | 46605 |
Screen Shot 2015-05-08 at 3.20.45 PM.png | 2015-05-08T09:27:33.000+0000 | 49834 |
Resolving as duplicate. Please note this an expected behavior change based on an AppCompat update.