title: Android two spinners showing wrong
body: <p>I have created two spinners dynamically, but one is showing little bellow the middle, how to put it in the same "line"?</p>
  
  <p><a href="http://oi60.tinypic.com/jt8kqt.jpg" rel="nofollow">http://oi60.tinypic.com/jt8kqt.jpg</a></p>
  
  <pre><code>    typySp2 = new MySpinner(context.getApplicationContext(), db.getTableTypy());
      typySp2.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() {
  
          @Override
          public void onItemSelected(AdapterView&lt;?&gt; arg0, View arg1,
                  int arg2, long arg3) {
  
  
              String text = typySp2.getSelectedItem().toString();
  
              ArrayAdapter&lt;String&gt; categoriesAdapter = new ArrayAdapter&lt;String&gt;(getContext().getApplicationContext(), android.R.layout.simple_spinner_dropdown_item, db.getTableOperace(text));
  
              operaceSp.setAdapter(categoriesAdapter);
  
  
          }
  
          @Override
          public void onNothingSelected(AdapterView&lt;?&gt; arg0) {
  
  
          }       
  
      });
      editaceOperaceLl.addView(typySp2);
  
      operaceSp = new MySpinner(context.getApplicationContext(), db.getTableOperace(typ));
      editaceOperaceLl.addView(operaceSp);
  </code></pre>