title: is it possible to set the imageview heights 1/3 of screen size
body: <p>Please consider the code given code.
  How to make these image heights are of 1/3 of screen size. if i use it with an adapter.
  Please refer the image</p>
  
  <p><a href="https://i.stack.imgur.com/EkxZt.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EkxZt.jpg" alt=""></a>
  </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
             android:paddingTop="0dip" android:layout_gravity="top"
           &gt;
  
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"    
              android:paddingBottom="5dp"
              android:paddingLeft="10dp"
              android:paddingTop="5dp" &gt;
  
              &lt;ImageView
                  android:id="@+id/image"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_weight="1"
                  android:layout_gravity="left|top"
                  android:scaleType="centerCrop"
                  android:src="@drawable/ic_launcher" /&gt;
              &lt;ImageView
                  android:id="@+id/imaget"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_gravity="left|top"
                  android:layout_weight="1"
                  android:scaleType="centerCrop"
                  android:src="@drawable/ic_launcher" /&gt;
          &lt;/LinearLayout&gt;
  
  &lt;/TableLayout&gt;
  </code></pre>