获取 Activity中所有的View ViewGroup

返回View

Activity.getWindow().getDecorView()

返回ViewGroup

(ViewGroup)Activity.getWindow().getDecorView()

 

posted on 2019-05-09 14:10  赵子隆  阅读(2929)  评论(0编辑  收藏  举报

导航