Use the Theme combo box above the layout to choose a different layout, or fix the theme style refere
AS 出现这个错误是因为theme主题的原因, 在preview中, 选择them中的devicedefult. light 或者devicedefault 然后试试 如果可以就用这些主题 ,如果不行就更换到合适的主题, 并且记下主题名字 ,并且更改values/style.xml 中的theme ,
另外 改主题 不只是values/style 还要看attrs, 以及mainfest.xml中的 theme 一同更改