public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { var _root = inflater.Inflate(Resource.Layout.infoSeqFt, container, false); // Use this to return your custom view for this Fragment // return inflater.Inflate(Resource.Layout.YourFragment, container, false); InfoMessage = _root.FindViewById <TextView>(Resource.Id.message); InfoTrolley = _root.FindViewById <TextView>(Resource.Id.trolley); InfoVIN = _root.FindViewById <TextView>(Resource.Id.vin); InfoSeqNr = _root.FindViewById <TextView>(Resource.Id.seqnr); InfoPartnumber = _root.FindViewById <TextView>(Resource.Id.partnumber); InfoBatch = _root.FindViewById <TextView>(Resource.Id.batch); InfoQTY = _root.FindViewById <TextView>(Resource.Id.qty); InfoMessage.SetTextColor(Color.Black); return(_root); }