title: How to increase and fit ImageView in CardView
body: <p>I'm using some TextView and CardView in Recycle with android property: <code>android:orientation="vertical"</code>, when I change <code>layout_width</code> and <code>layout_height</code> of ImageView, it doesn't change size of ImageView.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v7.widget.CardView
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:card_view="http://schemas.android.com/apk/res-auto"
      android:id="@+id/cardview1"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      card_view:cardElevation="3dp"
      card_view:contentPadding="3dp"
      card_view:cardCornerRadius="3dp"
      card_view:cardMaxElevation="3dp"
      card_view:cardUseCompatPadding="true"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:orientation="vertical"&gt;
  
          &lt;com.android.volley.toolbox.NetworkImageView
              android:id="@+id/VollyNetworkImageView1"
              android:layout_width="250dp"
              android:layout_height="100dp"
              android:src="@mipmap/ic_launcher"
              android:gravity="top" /&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:textAppearance="?android:attr/textAppearanceLarge"
              android:id="@+id/textView_item"
              android:text="Image View"
              android:layout_centerVertical="true"
              android:layout_marginLeft="20dp"/&gt;
  
        &lt;/LinearLayout&gt;
  
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p>I have tried a lot of ways but I have not got it yet, I wish it same with file photo attachment
  <a href="https://i.stack.imgur.com/fLnIS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fLnIS.jpg" alt="enter image description here"></a></p>
  
  <p>How to fix the problem ? Thank so much !</p>