Hi, I have find this error, but now a I have a new problem:
This code is my XML layout file: "<?xml version=*"1.0"* encoding=*"utf-8"*?> <LinearLayout xmlns:android=*http://schemas.android.com/apk/res/android* **android:orientation=*"vertical"* **android:layout_width=*"fill_parent"* **android:layout_height=*"fill_parent"*> <ListView android:id=*"@android:id/android:list"* **android:layout_width=*"wrap_content"* **android:layout_height=*"wrap_content"*/> <Button android:id=*"@+botao/btSSBack"* **android:layout_width=*"wrap_content"* **android:layout_height=*"wrap_content"* **android:text=*"Voltar"*/> </LinearLayout>" In java, how I get a reference of the ListView from XML file using findViewById()? Thanks again! On Mon, May 4, 2009 at 5:00 PM, Mark Murphy <mmur...@commonsware.com> wrote: > > Junior Einsfeld wrote: > > I tried to do this, but I getting an error from Android. > > And the error is...what? You can get the error message and Java stack > trace from adb logcat or DDMS. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android App Developer Training: http://commonsware.com/training.html > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---