Thank you very much, man! =] On Mon, May 4, 2009 at 10:04 PM, Mark Murphy <mmur...@commonsware.com>wrote:
> > Junior Einsfeld wrote: > > 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()? > > Don't bother. Just call getListView() from your ListActivity to get the > ListView. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, $35/Year > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---