title: How to inflate FrameLayout?
body: <p>I have linear Layout and I want to inflate FrameLayout into it. Do you know, how it can be done? Is it possible? I am still getting errors of <strong>No Suitable Method Found For Inflate</strong></p>
  
  <p>Thanks</p>
  
  <p><strong>Edit:
  answering myself:</strong></p>
  
  <pre><code>LinearLayout ll=(LinearLayout) findViewById(R.id.linear);
  final LayoutInflater  inflater = (LayoutInflater)getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  FrameLayout frml = (FrameLayout)inflater.inflate(R.layout.frame,null);
  frml.setId(10101010);
  frml.setBackgroundColor(Color.RED);
  
  ll.addView(frml);
  </code></pre>