android ToggleButton Exception raised during rendering: -1 -
this question has answer here:
i created simple app android when add togglebutton in xml file , go graphical layout error message:
exception raised during rendering: -1 exception details logged in window > show view > error logthe graphics preview in layout editor may not accurate: different corner sizes not supported in path.addroundrect. (ignore session)
here code:
<togglebutton android:id="@+id/togglebutton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:texton="vibrate on" android:textoff="vibrate off" android:onclick="ontoggleclicked"/>
Comments
Post a Comment