title: android spinner size automatically changed?
body: <p>before adapter set.<br>
  <img src="https://i.stack.imgur.com/aBYX6.png" alt="enter image description here"></p>
  
  <p>after adapter set.<br>
    <img src="https://i.stack.imgur.com/076In.png" alt="enter image description here"></p>
  
  <p>My Xml Code</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:background="@color/white"
  android:orientation="vertical" &gt;
  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="horizontal" &gt;
  
      &lt;Spinner
          android:id="@+id/spin_filter"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:spinnerMode="dropdown"
          android:layout_weight="1" /&gt;
  
      &lt;Spinner
          android:id="@+id/spin_sort"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:spinnerMode="dropdown"
          android:layout_weight="1" /&gt;
  
    &lt;/LinearLayout&gt;
    &lt;View
      style="@style/Divider"
      android:layout_width="match_parent"
      android:layout_height="1dp" /&gt;
   ..........
  
   &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I want to display the spinners same width. every spinner have to 50 percentage of parent width.</p>