hallo,
möchte gerne eine Button erstellen:
Dazu ziehe ich den Button in mein Display:
In dem Tut kommt kein Ausrufezeichen.Ich mache irgend wo ein Denkfehler.
möchte gerne eine Button erstellen:
Dazu ziehe ich den Button in mein Display:
Java:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/game"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_marginBottom="26dp"
android:layout_marginRight="40dp"
android:text="Button" /> <---------------Hardcoded sting "Button",shold use @string resource
</RelativeLayout>
In dem Tut kommt kein Ausrufezeichen.Ich mache irgend wo ein Denkfehler.