title: Inflate a TableRow
body: <p>I have a TableLayout in which I add rows dynamically, empty at first and I want to load a xml in that row when the user clicks on it.</p>
  
  <p>I've assigned the OnClick method to the row, but I don't know how to load the xml when it enters in the onclick method.</p>
  
  <pre><code>public void onClick(View v){
   // CODE TO LOAD THE XML
  
   Toast.makeText(getApplicationContext(), "This should appear", Toast.LENGTH_SHORT).show();
  }
  </code></pre>
  
  <p>I've tried using inflate, but it seems I am not using it properly because the app crashes when clicking on a row.</p>
  
  <p>How could I make the row to contain the xml?</p>