Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1030] Icon in actionBar on Android doesn't work with SDK 4.0.0RC2

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2015-05-08T22:14:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy
Labelsn/a
ReporterHarish Mridha
AssigneeRadamantis Torres-Lechuga
Created2015-05-08T09:27:36.000+0000
Updated2016-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

FileDateSize
Screen Shot 2015-05-08 at 3.14.50 PM.png2015-05-08T09:27:33.000+000046605
Screen Shot 2015-05-08 at 3.20.45 PM.png2015-05-08T09:27:33.000+000049834

Comments

  1. Ingo Muschenetz 2015-05-08

    Resolving as duplicate. Please note this an expected behavior change based on an AppCompat update.

JSON Source