xiaofans / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

ScrollToBottom not scrolling to very bottom if last view item is bigger than device screen #346

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create custom ListView
2. Populate it with items. Last item should be bigger than screen size (see 
attached screenshot)

What is the expected output? What do you see instead?
Actual: scrollToBottom method not scrolling to very bottom of list view.
Expected: method scrolls to bottom of list.

What version of the product are you using? On what operating system?
Windows 7x64, Android 2.3.3 - 4.1. Robotium 3.5

Please provide any additional information below.
I know that you are using setSelection for ListView. 
Maybe you know some other method to overcome this problem?
Currently I am using drag to reach the bottom of such a list.

Original issue reported on code.google.com by sergey.t...@gmail.com on 30 Oct 2012 at 7:06

Attachments:

GoogleCodeExporter commented 9 years ago
Forgot first screenshot

Original comment by sergey.t...@gmail.com on 30 Oct 2012 at 7:07

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. Would it be possible for you to send me an 
application that exhibits this issue?

Original comment by renasr...@gmail.com on 30 Oct 2012 at 9:59

GoogleCodeExporter commented 9 years ago
You can download it from here

in case you have AT&T sim card.
https://play.google.com/store/apps/details?id=com.att.android.mobile.attmessages
&hl=en

If not please see attached staging version of the product.
This is debug version so it should work on every device (starting from 2.3.3)
After installing you should go into Engineering Screen (engineering_app)
When in engineering screen you should insert DN: 5542891112 (see screenshot)
After it scroll down and verify that all checkboxes are unchecked.
Press Advanced Settings button. Mark checkboxes like on AdvancedSettings.png
Hit back twice. Press ok. Now you are ready to launch Messages application

Original comment by sergey.t...@gmail.com on 30 Oct 2012 at 11:04

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the app. 

Original comment by renasr...@gmail.com on 30 Oct 2012 at 7:18

GoogleCodeExporter commented 9 years ago
Unfortunately this can not be fixed as there is no way to know when the end of 
the list is reached. 

Original comment by renasr...@gmail.com on 19 Nov 2012 at 6:50