Note that there are some explanatory texts on larger screens.

plurals
  1. POThe Icons on the TabBarItems looks way too small on Android.
    text
    copied!<p>I have the icon supposed much bigger than what's shows up on tabbarItems. I don't why it shows up so small. </p> <p>Main.XML</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content"/&gt; &lt;FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;RelativeLayout android:id="@+id/emptylayout1" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"/&gt; &lt;TextView android:id="@+id/textview2" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="Details Details Details Details"/&gt; &lt;/FrameLayout&gt; &lt;/LinearLayout&gt; &lt;/TabHost&gt; </code></pre> <p>MainActivity</p> <pre><code> host=getTabHost(); host.addTab(host.newTabSpec("Offers") .setIndicator("Offers", getResources().getDrawable(R.drawable.icon_light)) .setContent(new Intent(this, Offer_Popup.class))); host.addTab(host.newTabSpec("Account") .setIndicator("Account", getResources().getDrawable(R.drawable.icon_wrench)) .setContent(new Intent(this, Offer_Popup.class))); host.addTab(host.newTabSpec("Settings") .setIndicator("Settings", getResources().getDrawable(R.drawable.icon_user)) .setContent(new Intent(this, Offer_Popup.class))); </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