Hi Marco Negroni,We confirmed “[Android] SfImageEditor sub toolbar is visible when drawing path on image” as an issue. We will include this fix on or before 11th March 2020.You can now track the status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.Feedback link: https://www.syncfusion.com/feedback/12384Note: The provided feedback link is private, and you need to login to view this feedback.Regards,Ramya
Hi Marco Negroni,Thanks for your patience.We are glad to announce that Volume 1 2020 beta release has been rolled out. The reported issue fix has been included in it.Please check and let us know if you need any further assistance.Regards,Ramya S
Hi Marco Negroni,We would like to inform that the sub toolbar will be hidden only when touch down on image and it will be shown in touch up. This is default behavior of SfImageEditor. So, if you are drawing path on sub toolbar and it will not be hidden.Please get back us, if you have any concern.Regards,Ramya S
Editor.SetToolbarItemVisibility("Path", false);
Editor.ToolbarSettings.ToolbarItems.Add(new FooterToolbarItem() {Icon=ImageSource.FromResource("IESample.penImage.png"),Name="addpath" });
Editor.ToolbarSettings.ToolbarItemSelected += ToolbarSettings_ToolbarItemSelected;
private void ToolbarSettings_ToolbarItemSelected(object sender, Syncfusion.SfImageEditor.XForms.ToolbarItemSelectedEventArgs e)
{
if (e.ToolbarItem.Name == "addpath")
{
Editor.AddShape(ShapeType.Path, new PenSettings() { });
}
} |
Hi Marco Negroni,
In our current implementation, path was not drawn on image when drawing on the color palette toolbar and this is the common behavior. We suggest you to use the custom toolbar item to draw path and the sub toolbar will be shown only when selecting the toolbar items such as color and opacity. Please refer the below code snippet for this.
Editor.SetToolbarItemVisibility("Path", false);Editor.ToolbarSettings.ToolbarItems.Add(new FooterToolbarItem() {Icon=ImageSource.FromResource("IESample.penImage.png"),Name="addpath" });Editor.ToolbarSettings.ToolbarItemSelected += ToolbarSettings_ToolbarItemSelected;private void ToolbarSettings_ToolbarItemSelected(object sender, Syncfusion.SfImageEditor.XForms.ToolbarItemSelectedEventArgs e){if (e.ToolbarItem.Name == "addpath"){Editor.AddShape(ShapeType.Path, new PenSettings() { });}}SampleLink:Please get back us, if you have any concern.Regards,Ramya S