title: listView items is not match parent n linear layout
body: <p>I need to create LinearLayout, which has ListView. I did it with this code:</p>
  
  <pre><code>this.setLayoutParams(new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
      final ListView listView = (ListView) LayoutInflater.from(getContext()).inflate(R.layout.chat_timer_rollout, null);
      addView(listView);
  </code></pre>
  
  <p>My chat timer rollout is:</p>
  
  <pre><code>&lt;ListView
  xmlns:a="http://schemas.android.com/apk/res/android"
  a:layout_width="match_parent"
  a:layout_height="wrap_content"
  a:background="@color/white"
  a:cacheColorHint="@color/white"
  a:paddingBottom="12dp"
  a:paddingTop="12dp"&gt;
  </code></pre>
  
  <p></p>
  
  <p>After creating i've tried to add items in list view like this:</p>
  
  <pre><code>final ArrayAdapter&lt;TimeInterval&gt; adapter = new ArrayAdapter&lt;&gt;(getContext(),
                                                                  R.layout.chat_timer_item,
                                                                  R.id.timer_label, TimeInterval.INTERVALS);
  
      listView.setAdapter(adapter);
  </code></pre>
  
  <p>Chat timer item has code:</p>
  
  <pre><code>&lt;TextView
  a:id="@+id/timer_label"
  xmlns:a="http://schemas.android.com/apk/res/android"
  a:layout_width="match_parent"
  a:layout_height="wrap_content"
  a:paddingBottom="11dp"
  a:paddingLeft="@dimen/timer_label_margin_right"
  a:paddingTop="11dp"
  a:textColor="@color/primary_text"
  a:textSize="@dimen/timer_text_size"/&gt;
  </code></pre>
  
  <p>After creating this i see my linear layout on screen, but when i click item it has width wrap_content, not match parent? how to fix it? I've tried to set one more linear layout for inflated with params match_parent, but it didnt help. Thank you!</p>