Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Here you did not set the <code>height</code> and <code>weight</code> to the <code>ImageView</code> and <code>TextView</code>.</p> <p>Graphic layout will be visible to you if you give proper <code>height and weight</code> to the UI Elements.</p> <p>If you want to set the height and weight to the UI elements programmatically, you can set the height and weight using java. You need not worry about the sizes given in the <code>XML</code> layout. </p> <p>I am sure these height and weight will be changed at <strong>runtime</strong>.</p> <p>change your xml as like this </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/widget28" android:layout_width="fill_parent" android:layout_height="80px"&gt; &lt;LinearLayout android:id="@+id/linearText" android:layout_width="wrap_content" android:layout_height="fill_parent" android:orientation="vertical" android:layout_marginLeft="10px" android:layout_marginTop="10px"&gt; &lt;TextView android:id="@+id/txtAirLineCodeLv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /&gt; &lt;ImageView android:id="@+id/StopDetailBtnLv" android:layout_width="wrap_content" android:layout_height="wrap_content"/&gt; &lt;TextView android:id="@+id/txtPriceLv" android:text="TextView" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/linearText1" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;ImageView android:id="@+id/imgFlightLogoLv" android:layout_width="wrap_content" android:layout_height="wrap_content"/&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/linearText2" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;TextView android:id="@+id/txtTotalDurationLv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /&gt; &lt;TextView android:id="@+id/txtStopCountLv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/linearText3" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;TextView android:id="@+id/txtOrgLv" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload