Note that there are some explanatory texts on larger screens.

plurals
  1. POnullpointerexception in wyswig xml layout in eclipse for android and visual-artifacts
    primarykey
    data
    text
    <p>I'm currently developing an application for Android which needs to use a custom made Tabs. I have encountered two problems:</p> <p>I will start from my first problem:</p> <pre><code>java.lang.NullPointerException at android.widget.TabWidget.initTabWidget(TabWidget.java:115) at android.widget.TabWidget.&lt;init&gt;(TabWidget.java:86) at android.widget.TabWidget.&lt;init&gt;(TabWidget.java:69) ... </code></pre> <p>I'm getting this exception when i want to switch from a text mode to wyswig mode in Eclipse. This is the actual xml code that gives me that error:</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;FrameLayout android:id="@android:id/tabcontent" android:layout_width="fill_parent" android:layout_height="0dip" android:layout_weight="1" android:padding="20dip" android:background="#fff" /&gt; &lt;RadioGroup android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:checkedButton="@+id/first" android:id="@+id/states"&gt; &lt;RadioButton android:id="@+id/first" android:background="#FF00FF" android:width="80dip" android:height="70dip" /&gt; &lt;RadioButton android:id="@+id/second" android:background="#FFFFFF" android:width="80dip" android:height="70dip" /&gt; &lt;RadioButton android:id="@+id/third" android:background="#00FFFF" android:width="80dip" android:height="70dip" /&gt; &lt;RadioButton android:id="@+id/fourth" android:background="#0000FF" android:width="80dip" android:height="70dip" /&gt; &lt;/RadioGroup&gt; &lt;TabWidget android:id="@android:id/tabs" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0" android:visibility="gone" /&gt; &lt;/LinearLayout&gt; &lt;/TabHost&gt; </code></pre> <p>Now the second problem is an Graphic-Artifact: <img src="https://i.stack.imgur.com/lJcmQ.png" alt="http://img529.imageshack.us/img529/8216/99725485.png"></p> <p>How can i resolve my problems?</p>
    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. 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