Quote:
Originally Posted by Shashwat Singh
<?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" >
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="This is my first Android Application!" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="And this is a clickable button!" />
</LinearLayout>
*error is on 10th line,no resource found dat matches the string
|
Your error is
android:text="@string/hello"
You did not add entry to strings.xml file.
If you don't want to go through the hassle of adding an entry to strings.xml, change that line to
android:text="hello world"