Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can use <code>LinearLayout</code> as parent Layout having <code>android:orientation="horizontal"</code>. and then use three <code>LinearLayout</code> each contains <code>TextView</code> and <code>ImageView</code> having <code>android:orientation="vertical"</code>.</p> <p>See below code-</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" &gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;TextView android:id="@+id/strength" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_below="@+id/hero_class" android:textColor="#0095FF" android:text="Strength" android:textAppearance="?android:attr/textAppearanceMedium" /&gt; &lt;ImageView android:id="@+id/img_agi" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignTop="@+id/img_int" android:layout_centerHorizontal="true" android:src="@drawable/agility" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" &gt; TextView ImageView &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" &gt; TextView ImageView &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