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
已采納回答 / 慕粉4300837
看看你的配置文件(values->trings.xml)里有沒有Yname這個name。@string/后面接的是string配置文件里的名字,而不是內容。
2017-01-11