This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 53909 - XML drawables cannot be used as ToolbarItem.Icon
Summary: XML drawables cannot be used as ToolbarItem.Icon
Alias: None
Product: Forms
Classification: Xamarin
Component: Android (show other bugs)
Version: 2.3.4
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2017-03-24 13:24 UTC by Alexander
Modified: 2017-03-29 18:24 UTC (History)
4 users (show)

See Also:
Is this bug a regression?: Yes
Last known good build:


Description Alexander 2017-03-24 13:24:58 UTC
In earlier versions an android XML drawables can be used as toolbar icons.
For example:
Please note - there is no other way to show different icons for enabled/disabled toolbar items.

In 2.3.4, after merging, this functionality was broken - now only PNG files can be used. Attempt to use XML drawables causes errors in android log like this:

E/BitmapFactory: Unable to decode stream: /ic_delete_white: open failed: ENOENT (No such file or directory)

And corresponded toolbar item contains text only.

Please, restore possibility to use XML drawables in XF.Android.
Comment 1 Samantha Houts 2017-03-29 16:58:39 UTC
Should be fixed in 2.3.4-pre6. Thank you!

Note You need to log in before you can comment on or make changes to this bug.