title: Custom view not shown in Horizontal scroll view Not working
body: <p>When i try to add my custom view to horizontal scroll view it's not showing.
  but same custom view is shown in other layout like Relative and Linear Layout.</p>
  
  <pre><code> layout=new LinearLayout(this);
          layout.setBackgroundColor(Color.YELLOW);
          layout.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.MATCH_PARENT));
          layout.setOrientation(LinearLayout.HORIZONTAL);
  
          l = new PredicateLayout(this);
  //       l.sendtext(info);
           for(int j=0;j&lt;info.length;j++)
           {
  
              LinearLayout aa=new LinearLayout(this);
              aa.setOrientation(LinearLayout.VERTICAL);
              t = new TextView(this);
                  t.setText(info[j]);
                  t.setBackgroundColor(Color.GREEN);
                  t.setTextSize(i);
                  t.setWidth(screenwidth/2);
                  aa.addView(t);
                  l.addView(aa, new PredicateLayout.LayoutParams(0, 0));
  
           }
  
           layout.addView(l);
          scroll.addView(layout);
  </code></pre>
  
  <p>My XML look like this </p>
  
  <pre><code>&lt;HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
       android:id="@+id/scroll"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:fillViewport="true"
      android:orientation="horizontal" 
      &gt;
  
  &lt;/HorizontalScrollView&gt;
  </code></pre>
  
  <p>also tried like this </p>
  
  <pre><code>&lt;HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
       android:id="@+id/scroll"
      android:layout_width="wrap_content"
      android:layout_height="match_parent"
      android:fillViewport="true"
      android:orientation="horizontal" 
      &gt;
  
      &lt;com.test.app.PredicateLayout 
          xmlns:android="http://schemas.android.com/apk/res/android"
          android:layout_height="fill_parent"
          android:layout_width="fill_parent"
          android:id="@+id/predicate_layout"
          &gt;
  
      &lt;/com.omnion.bible.PredicateLayout&gt; 
  &lt;/HorizontalScrollView&gt;
  </code></pre>
  
  <p>code look like</p>
  
  <pre><code>test=(PredicateLayout)findViewById(R.id.predicate_layout);
  
   for(int j=0;j&lt;info.length;j++)
           {
  
              LinearLayout aa=new LinearLayout(this);
              aa.setOrientation(LinearLayout.VERTICAL);
              t = new TextView(this);
                  t.setText(info[j]);
                  t.setBackgroundColor(Color.GREEN);
                  t.setTextSize(i);
                  t.setWidth(screenwidth/2);
                  aa.addView(t);
                  test.addView(aa, new PredicateLayout.LayoutParams(0, 0));
  
           }
  </code></pre>
  
  <p>Can any one help me.
  Thank's in advance.</p>