When you convert an Activity to Fragment there is another way for you to access your element e.g. a Textview.
Before
TextView myTextView = (TextView) findViewById(R.id.myTextView);
to
TextView myTextView = (TextView) ll.findViewById(R.id.myTextView);