Note that there are some explanatory texts on larger screens.

plurals
  1. POXML document not well formed
    text
    copied!<p>I am not sure why I am getting "The markup in the document following the root element must be well formed". I was trying to use the following code in mainxml under res/menu in an android project. Plese help!!!</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:gravity="center_vertical|left" android:orientation="vertical" &gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" &gt; &lt;TextView style="@style/inputLabel" android:text="@string/cardHolderName" /&gt; &lt;EditText android:id="@+id/cardHolderNameInput" style="@style/textInput" android:layout_width="fill_parent" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" &gt; &lt;TextView style="@style/inputLabel" android:text="@string/cardNumber" /&gt; &lt;EditText android:id="@+id/cardNumberInput" style="@style/textInput" android:layout_width="fill_parent" android:numeric="integer" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" &gt; &lt;TextView style="@style/inputLabel" android:paddingRight="40sp" android:text="@string/expirationDate" /&gt; &lt;TextView style="@style/inputLabel" android:text="@string/expirationMonth" /&gt; &lt;EditText android:id="@+id/expirationMonthInput" style="@style/textInput" android:layout_width="50sp" android:numeric="integer" android:singleLine="true" /&gt; &lt;TextView style="@style/inputLabel" android:paddingLeft="10sp" android:text="@string/expirationYear" /&gt; &lt;EditText android:id="@+id/expirationYearInput" style="@style/textInput" android:layout_width="50sp" android:numeric="integer" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" &gt; &lt;TextView style="@style/inputLabel" android:text="@string/cvv" /&gt; &lt;EditText android:id="@+id/cvvInput" style="@style/textInput" android:layout_width="fill_parent" android:numeric="integer" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" &gt; &lt;TextView style="@style/inputLabel" android:text="@string/amount" /&gt; &lt;EditText android:id="@+id/amountInput" style="@style/textInput" android:layout_width="fill_parent" android:numeric="integer|decimal" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:gravity="center_horizontal" android:orientation="horizontal" &gt; &lt;Button android:id="@+id/submitAction" style="@style/action" android:clickable="true" android:text="@string/submit" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre> <p>Any help will be appreciated. Thanks.</p>
 

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