I've finished NotePad Tutorial which is in Android web-site

However, I'm not quite sure about some Code below

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
      android:layout_width="wrap_content"
        android:layout_height="wrap_content">

     <ListView android:id="@+id/android:list"
          android:layout_width="wrap_content"
                android:layout_height="wrap_content"/>
        <TextView android:id="@+id/android:empty"
          android:layout_width="wrap_content"
                android:layout_height="wrap_content"/>
</LinearLayout>

I've made Activity which extends ListActivity and I made a XML code

I changed <ListView android:id="@+id/android:list" ....
TO <ListView android:id="@+id/list" ...

It didn't work Why? What is different between @+id/android:list and @
+id/list

web site  says "The list and empty IDs are provided for us by the
Android platform, so, we must prefix the id with android:
I don't know what the web site says












--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to