title: Addview does not working
body: <p>I have this code:</p>
  
  <pre><code>LinearLayout linear = (LinearLayout) findViewById(R.id.parametersLayout);
  
  LayoutParams b = new LayoutParams(
                  LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
          TextView view = new TextView(this);
          view.setLayoutParams(b);
          view.setTextColor(Color.BLACK);
          view.setText("test");
          linear.addView(view);
  </code></pre>
  
  <p>When I use this code I dont see my <code>TextView</code>.</p>
  
  <p>The <code>LinearLayout</code> xml code:</p>
  
  <pre><code>&lt;LinearLayout
                      android:id="@+id/parametersLayout"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_below="@+id/parametersChoose"
                      android:orientation="vertical" &gt;
                  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>But if I run the code again I can see the new <code>TextView</code> I just added and the previous <code>TextView</code> aswell.</p>
  
  <p>So the previous <code>TextView</code> suddenly becomes visible.</p>
  
  <p>I use this logs:</p>
  
  <pre><code>Log.i("childs count", linear.getChildCount()+"");
  
          if(view.getVisibility() == View.VISIBLE)
              Log.i("visbile", "yes");
          else
              Log.i("visbile", "no"); 
  </code></pre>
  
  <p>And on the first them I run the code above I get:</p>
  
  <p>child count 1 and visibility to yes.</p>
  
  <p>I also tried</p>
  
  <pre><code>linear.notify();
  </code></pre>
  
  <p>and it didn't work.</p>