SyntaxFix
Write A Post
Hire A Developer
Questions
If you are trying to find a View from your Fragment then try doing it like this:
View
Fragment
int w = ((EditText)getActivity().findViewById(R.id.editText1)).getLayoutParams().width;