View

Android get view from context

 

View rootView = ((Activity)mContext).getWindow().getDecorView().findViewById(android.R.id.content)

View v = rootView.findViewById(R.id.your_view_id);

 

 

By bm on May 26, 2015 | Android, View | A comment?