Elements inside scrollview shows different size for different screens. How to fix it?
<p>im my code </p>

<pre><code>&lt;ScrollView
    android:id="@+id/scroll"
    android:layout_width="fill_parent"
    android:layout_height="0dp"
    android:layout_weight=".3"&gt;

    &lt;LinearLayout
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"&gt;

        &lt;ImageView
            android:id="@+id/json"
            android:onClick="album"
            android:scaleType="fitXY"
            android:layout_width="fill_parent"
            android:layout_height="140dp" /&gt;

        &lt;ImageView
            android:id="@+id/json1"
            android:layout_marginTop="3dp"
            android:onClick="live"
            android:scaleType="fitXY"
            android:layout_width="fill_parent"
            android:layout_height="140dp" /&gt;

    &lt;/LinearLayout&gt;
&lt;/ScrollView&gt;
</code></pre>

<p>how can i set height of the imageviews independent for all size screens...</p>

<p>now it looks fine in mobile phones but on tabs, the imageviews insdie scrollview get stretched. </p>