In my graphic layout XML for Android it cannot display mine ToggleButton. I get some errors (see below). I checked all the other components in the palette window, and the only component that does not load is ToggleButton. The problem is not related to a specific project. It is saved in every project that I create.
Note. I tried to drag it directly, and also use the XML code to create it. But he fails anyway, and the error is the same.
Error:
Exception raised during rendering: -1
Exception details are logged in Window > Show View > Error Log
The graphics preview in the layout editor may not be accurate:
Different corner sizes are not supported in Path.addRoundRect. (Ignore for this session)
Path.isConvex is not supported. (Ignore for this session)
I mentioned this question and tried to edit it, but the change was rejected. Therefore, please do not redirect me there.
I use API 21. All build tools are installed.
source
share