 <p>I must say that it works perfectly like it should be.</p> <p>If you want it to be:</p> <pre><code>Before After Screen </code></pre> <p>Try this:</p> <pre><code>final LinearLayout screenRL = (LinearLayout) findViewById(R.id.screenRL); new Thread(new Runnable() { @Override public void run() { for (int i = 0; i &lt; 4; i++) { LayoutInflater inflater = getLayoutInflater(); final View view = inflater.inflate(R.layout.dl, null); TextView txtTitleView = (TextView) view.findViewById(R.id.txtTitleView); txtTitleView.setText((i + 1) + ". Post"); Log.i("Check", "Before : "); runOnUiThread(new Runnable() { public void run() { Log.i("Check", "After"); screenRL.addView(view); } }); } runOnUiThread(new Runnable() { public void run() { Log.i("Check", "Screen"); } }); } }).start(); </code></pre>