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

后端 未结 21 1371
慢半拍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:20

    I got the same problem with my customized theme that used Holo.Light as its parent. In grayed text Android Studio indicated that some attributes were missing. When I added these missing attributes as follows, the rendering problems went away -

        
        
        
    

    Even though they introduced errors in my style's theme, they caused no problems in rendering the activity designs or building my app.

提交回复
热议问题