Exception raised during rendering: -1
Exception details are logged in Window > Show View > Error LogThe graphics preview in the layout editor may not be accurate:
Different corner sizes are not supported in Path.addRoundRect. (Ignore for this session)
Exception details are logged in Window > Show View > Error LogThe graphics preview in the layout editor may not be accurate:
Different corner sizes are not supported in Path.addRoundRect. (Ignore for this session)
2017-01-13
最赞回答 / 王火
同学你的主要问题应该是activity_main.xml里的android:src="@drawable/off",这里的属性应该是background而不是src
2017-01-13