title: Two Spinner menu items in ActionBar width
body: <p>I've manually built two spinners in the Action bar, by creating at first two menu items in the main.xml file. With the line</p>
  <pre><code>cSpinner.setAdapter( ArrayAdapter.createFromResource( this,
              R.array.category_data,
              android.R.layout.simple_spinner_dropdown_item )
              );
  </code></pre>
  <p>I set the Array Resource for them.
  These things actually work but the problem is, that the left spinners resource string is so big that just a small bit of the right spinner can be seen.</p>
  <p><a href="https://i.stack.imgur.com/VXgtj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VXgtj.png" width="280" /></a></p>
   
  <p>I've tried things like <code>cSpinner.setLayoutParams(new Spinner.LayoutParams(60, 20));</code> or '</p>
  <pre><code>ViewGroup.LayoutParams params = pView.getLayoutParams();
           params.width = 100;
              cspinner.setLayoutParams(params);
  </code></pre>
  <p>But none of them work. The second one even lets the program crash.
  Do you now know a tip how I can solve this problem?</p>