Is there any way to find a view by id within the scope of a fragment? I\'m using a series of fragments to render a specialized list. The fragments are loaded from a layout
From inside the Fragment:
getView().findViewById(R.id.your_view);
From the enclosing Activity:
getFragmentManager().findFragmentByTag("YourFragmentTag").getView().findViewById(R.id.your_view);
or
getFragmentManager().findFragmentById(R.id.your_fragment).getView().findViewById(R.id.your_view);