[android-developers] FragmentPager Scrolling

2011-09-22 Thread Eric Carman
Using the compatibility library with the Fragment Pager Support example, I'm noticing some odd behavior in the scrolling. To reproduce: 1. Run the sample FragmentPagerSupport (v4) 2. From Fragment #1 scroll up and down using the dpad or trackball. - This works as expected. 3. Swipe to move

Re: [android-developers] FragmentPager Scrolling

2011-09-22 Thread Mark Murphy
Manually, that's probably a matter of: -- setting the focus when you switch pages -- using android:nextFocusDown and kin on your widgets to control how the focus switches (note that I haven't used the pager component yet, so the above advice is an educated guess) However, bear in mind that not

Re: [android-developers] FragmentPager Scrolling

2011-09-22 Thread Eric Carman
To clarify... Using the dpad left/right or trackball roll left/right doesn't simulate a swipe. All it does is set focus to an offscreen fragment. It doesn't actually change the fragment that is displayed on screen. (I have on screen buttons that will let the user swipe left/right if they are

Re: [android-developers] FragmentPager Scrolling

2011-09-22 Thread Mark Murphy
Sorry, I misunderstood your original post. Equally sorry, I have no suggestions. On Thu, Sep 22, 2011 at 6:27 PM, Eric Carman ewcarma...@gmail.com wrote: To clarify... Using the dpad left/right or trackball roll left/right doesn't simulate a swipe. All it does is set focus to an offscreen

Re: [android-developers] FragmentPager Scrolling

2011-09-22 Thread Dianne Hackborn
Sorry, this will be fixed in a future update. On Thu, Sep 22, 2011 at 5:25 AM, Eric Carman ewcarma...@gmail.com wrote: Using the compatibility library with the Fragment Pager Support example, I'm noticing some odd behavior in the scrolling. To reproduce: 1. Run the sample