Missing styles. Is the correct theme chosen for this layout?

后端 未结 21 1338
慢半拍i
慢半拍i 2020-11-28 19:27

Missing styles. Is the correct theme chosen for this layout? Use the Theme combo box above the layout to choose a different layout, or fix the theme style ref

21条回答
  •  [愿得一人]
    2020-11-28 20:27

    I got this error after overriding action bar style like this. Also i lost action bar in preview.

    
    
    
    

    So, problem is overriding theme by my custom. this is the reason, why I've changed AppCompat (from "Project Themes") to general_app_theme (from "Manifest Themes"). Now I have no this error and action bar in preview come back.

提交回复
热议问题