Android layout previewer throws error when adding custom LinearLayout

后端 未结 1 1476
感情败类
感情败类 2021-01-17 17:45

I\'ve defined a custom ViewGroup that extends the functionality of a LinearLayout:

public class TestLayout extends LinearLayout {

    public TestLayout(Cont         


        
1条回答
  •  梦毁少年i
    2021-01-17 18:21

    The following usually help:

    • Clean your project (again, just in case).
    • Restart eclipse.
    • Refresh your folders in eclipse (right click -> refresh, or select your top folder and press f5).

    0 讨论(0)
提交回复
热议问题