i have error which teel me no resource found in my main.xml file and i cant resolve it any help please

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical"
    android:background="@android:drawable/images.jpg"{it give me error here}
   >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0.07"
        android:gravity="center_horizontal"
        android:text="@String/hello" />{and here}
        >

        <Button
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="0.01"
        android:text="Back"
        android:textSize="40dp"
        android:textStyle="bold" />

</LinearLayout>

Post the String resource xml or double check "string" resource /res/values/string.xml named hello.

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="hello">Hello World, ActivitiesActivity!</string>
</resources>

its named like that but the error still exist

There is not such thing as @android:drawable/images.jpg, you sure it is not @drawable/images.jpg. For the second one your string on layout is starting with capital "S", but should be lower case "s"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.