I use PageActions to create address bar button in adnroid ff addon https://developer.mozilla.org/en-US/Add-ons/Firefox_for_Android/API/PageActions.jsm.
And I have icon.png in main directory of addon project. Example of my PageAction:
PageActions.add({
icon: “icon.png”,
title: “My page action”,
clickCallback: function () {
showAlertDlg(‘myaddon’, ‘action’);
}
});
But button create without icon. How correctly set icon to my pageaction?