title: Trying to create array of spinners
body: <p>I create array of spinners but when i run in emulator the spinner like "hide" others spinner. how i can set the position of spinner so it could automatically form in a good order.
  here my code </p>
  
  <pre><code>Spinner[] arrSpinner = new Spinner[10];
      ArrayAdapter arrAdapter[] = new ArrayAdapter[10];
      List[] listSoal = new ArrayList[10];
      for(int i=0;i&lt;10;i++){  
          listSoal[i] = new ArrayList&lt;String&gt;();
          listSoal[i].add("Soal "+i);
      }
      List[] listJawaban = new ArrayList[10];
      for(int i=0;i&lt;10;i++){  
          listJawaban[i] = new ArrayList&lt;String&gt;();                           
          listJawaban[i].add("Pilih Jawaban");
          listJawaban[i].add("Pilihan 2");
          listJawaban[i].add("Pilihan 3");
          listJawaban[i].add("Pilihan 4");
  
      }
      int soal = 1;
      for(int i=0;i&lt;10;i++){
  
          TextView tv = new TextView(getApplicationContext());
          tv.setText("Soal "+soal);
          addContentView(tv, new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 
                  LinearLayout.LayoutParams.WRAP_CONTENT));
          //addContentView(tv, null);
          arrSpinner[i] = new Spinner(this,0);
          arrAdapter[i] = new ArrayAdapter(this, android.R.layout.simple_spinner_dropdown_item,listJawaban[i]);
          arrSpinner[i].setPrompt("Pilih Jawaban");
          addContentView(arrSpinner[i], new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT, 
                  LinearLayout.LayoutParams.WRAP_CONTENT));
  
          arrAdapter[i].setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
  
          arrSpinner[i].setOnItemSelectedListener(new SpinnerAction());
          arrSpinner[i].setAdapter(arrAdapter[i]);
          soal++;
      }
  </code></pre>
  
  <p>this is the result</p>
  
  <p><img src="https://i.stack.imgur.com/NPcwf.jpg" alt="enter image description here"></p>