1
即時通訊新在這裏:) 我的第一個問題是,我在Eclipse中得到了錯誤想創建一個應用程序:在Eclipse中創建一個應用程序:錯誤解析XML:沒有很好地形成(標記無效)
[2014-03-30 18:48:43 - brutto_netto_rechner] C:\Users\HP\!Studium!\Eclipse\brutto_netto_rechner\res\layout\formular_activity.xml:1: error: Error parsing XML: unbound prefix
而且繼承人是formular_activity.xml:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".FormularActivity" >
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/txt_anweisung" />
<EditText android:id="@+id/edt_betrag"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="numberDecimal" />
<RadioGroup android:id="@+id/rg_art"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RadioButton android:id="@+id/rb_art_netto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/txt_netto"
android:checked="true" />
<RadioButton android:id="@+id/rb_art_brutto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/txt_brutto" />
</RadioGroup>
<Spinner android:id="@+id/sp_umsatzsteuer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawSelectorOnTop="true"
android:entries="@array/ust_anzeige"
android:entryValues="@array/ust_werte" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/txt_berechnen"
android:onClick="onClickBerechnen" />
</LinearLayout>
那是我第一次嘗試創建一個應用程序,因此,如果有人可以幫助,是具體的。 謝謝!
迎接