On Mon, Jun 4, 2012 at 7:08 AM, LordMaKo <[email protected]> wrote: > but when I want to scroll left or right to have another fragment for that > tab, I have a problem, knowing how to implement this, I tried first by > sensing when a swipe happens[but cannot detect the swipe] > SO question
Use a ViewPager. > also, I have looked at the view pager, but don't understand where to place > it? on the listFragment? The ViewPager would be the content of your activity. The ViewPager would use fragments, supplied by your PagerAdapter, for the portions of the UI that should be horizontally swipe-able. > the second problem i Have with fragments is: > i need to show a frame by frame animation [works in an activity], but when I > haven't figured out yet how to place it on my fragment? Apply it to the background of the ViewGroup that is the content of the fragment. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training... At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

