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"/> 

i fix it, had changing target of graphical layout this:

enter image description here


Comments

Popular posts from this blog

routing - AngularJS State management ->load multiple states in one page -

python - GRASS parser() error -

post - imageshack API cURL -