title: Inflate 2 layouts (1 main, 1 additional)
body: <p>So i have 2 java files buyClothes.java and searchClothes.java.
  At buyClothes by java the layout that is being used is : R.layout.bClothes and at searchClothes the layout that is being used is : R.layout.sClothes</p>
  
  <p>In bClothes there is an Edittext which is being used in buyClothes, in searchClothes i would like to use that Edittext aswell. From what i understood from this website and information i then have to inflate it in searchClothes to be able to use it. I have done that this way..</p>
  
  <pre><code>View view;
  LayoutInflater inflater1 = (LayoutInflater)   getActivity().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  view = inflater1.inflate(R.layout.bClothes, null);
  EditText testEdit = (EditText)view.findViewById(R.id.edit1);
  testEdit.setHint("testhint");
  </code></pre>
  
  <p>Now the application doesn't crash but i don't see the hint on the testEdit file, as if it is being ignored or nothing can be done with the view, or i have a slight feeling that te view might return null or something.</p>
  
  <p>Do you have any hints on this matter?</p>