D
Drigon
Neues Mitglied
- 0
Hallo, ich bin neuling, und habe so meine kleinen probleme mit eclipse Version: 4.2.0
Wenn ich mir ein neues Android Projekt erstellt habe ist noch alles ok.
Füge ich nun in die main.xml einen ImageView ein so erhalte ich folgende Meldung:
[Accessibility] Missing contentDescription attribute on image
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginBottom="159dp"
android:layout_marginLeft="247dp"
androidrientation="vertical" >
</LinearLayout>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@+id/linearLayout1"
android:layout_below="@+id/linearLayout1"
android:layout_marginTop="29dp"
android:text="@string/hello_world"
android:textAppearance="?android:attr/textAppearanceMedium" />
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/linearLayout1"
android:layout_below="@+id/textView1"
android:layout_marginTop="104dp"
android:scaleType="center"
android:src="@drawable/ic_launcher" />
</RelativeLayout>
von wo kommt dieser fehler und wie kann ich das beheben ?
Wenn ich mir ein neues Android Projekt erstellt habe ist noch alles ok.
Füge ich nun in die main.xml einen ImageView ein so erhalte ich folgende Meldung:
[Accessibility] Missing contentDescription attribute on image
Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/linearLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginBottom="159dp"
android:layout_marginLeft="247dp"
androidrientation="vertical" >
</LinearLayout>
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@+id/linearLayout1"
android:layout_below="@+id/linearLayout1"
android:layout_marginTop="29dp"
android:text="@string/hello_world"
android:textAppearance="?android:attr/textAppearanceMedium" />
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/linearLayout1"
android:layout_below="@+id/textView1"
android:layout_marginTop="104dp"
android:scaleType="center"
android:src="@drawable/ic_launcher" />
</RelativeLayout>
von wo kommt dieser fehler und wie kann ich das beheben ?
Zuletzt bearbeitet: