Why isn't there a getContentView() method for Activity?

前端 未结 3 1129
梦如初夏
梦如初夏 2020-12-01 10:04

The Activity class has a setContentView() method. The PopupWindow Class has a getContentView() method but nothing else d

3条回答
  •  日久生厌
    2020-12-01 10:45

    I'm looking for this as well, but I just thought that it might be easier to add an id to the outermost ViewGroup.

    
        
    

    I'll keep looking for a few more minutes, though. I'm into it so that I can use findViewWithTag from the outermost layout.

提交回复
热议问题