“Kein XML-Inhalt. Bitte fügen Sie eine root-view oder layout für Ihr Dokument"

Ich versuche code ein softkeyboard für 2.1 und als ich den code ( siehe code unten) in der main.xml grafische Ansicht zeigt nichts an und sagt, dass Kein XML-Inhalt. Bitte fügen Sie eine root-view oder layout für Ihr Dokument" ich habe versucht, den code in textview, aber noch kein Glück ich kann nicht die softkeyboard zu zeigen, als ob mein code wird ignoriert..ich habe versucht diese beiden codes separat funktioniert nichts

<com.example.android.softkeyboard.LatinKeyboardView
xmlns:android="http://schemas.android.com/apk/res/android"

    android:id="@+id/keyboard"
    android:layout_alignParentBottom="true"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
/>
<Keyboard
    android:keyWidth="%10p"
    android:keyHeight="50px"
    android:horizontalGap="2px"
    android:verticalGap="2px" >
   <Row android:keyWidth="32px" >
   <Key android:keyLabel="A" />
...
</Row>
...
</Keyboard>

InformationsquelleAutor evc | 2012-04-03

Schreibe einen Kommentar