I have two Activities that want to use one fragment for two different
screens sizes.

The Example I generated from the gallery creates a TextView in the fragment
and that is added to a ScrollView
But my Fragment is a ListView
But I don't want to add a list to a scroll, because that would be two
scrolling view groups.

I just need something I can address by ID in which to place the Fragment,

What can I use in the outer container (whatGroup id=listFrragmentHere in
the rough code below), so that I can find somewhere  in which to place the
list?

Activity Detail_Activity
<LinearLayout android:id="@+id/detail_activity" >
  <someview/>
  <someotherview/>
  <*WhatGroup* android:id="@+id/listFragmentHere">
      ... this is where I'll dynamicaly in the fragment...
  </*WhatGroup*>
</linearLayout>

 List Fragment

<ListView android:id="@+id/listFragment" >
... complex rows of various fields
</List>

Should whatGroup simply be a linearLayout?  Is there something simpler?

-Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CAFR9p%3DMEw%3D6ikLxL8q8Abbaf8d0pYOw-k7g9SRznYa8-PcfCCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to