Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>you can implement it by Linearlayout or grideview too.if you use Linearlayout your code is same 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:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" android:weightSum="3" android:background="#FF0000" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="horizontal" android:weightSum="3" android:background="#00FF00" &gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/offer" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/privilege" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/notice" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:weightSum="3" android:orientation="horizontal" android:background="#0000FF" &gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/contact" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/services" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/complaint" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1" android:weightSum="3" android:orientation="horizontal" android:background="#00FF00" &gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/etoken" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/locator" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;com.cibl.c_ebankinfo.compoundviews.MenuItem android:id="@+id/product" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" &gt; &lt;/com.cibl.c_ebankinfo.compoundviews.MenuItem&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

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