You can import android.R, it has all the system ids, graphics, strings
etc (the ones made public anyway).

So use 'android.R.id.list' to get that list.

On Jul 29, 12:47 pm, OiuNt <xoi...@gmail.com> wrote:
> i'm using the ListActivity with customized layout xml:
>
> <LinearLayout ...
> <ListView android:layout_width="fill_parent"
>     android:layout_height="wrap_content"
>     android:id="@id/android:list"/>
> ...
> </LinearLayout >
>
> however, i cannot get the view throught method findViewById, since the
> id does not in the R.id, so could you help me the get this listview,
> thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to