본문 바로가기
개발/안드로이드

how to get activity's content view

by 로그인시러 2016. 11. 8.
this.getWindow().getDecorView().findViewById(android.R.id.content)

or

this.findViewById(android.R.id.content)

or

this.findViewById(android.R.id.content).getRootView()


출처 : http://stackoverflow.com/questions/5273436/how-to-get-activitys-content-view

댓글