EyeSeeTea / pictureapp

Mobile application designed to report cases of malaria (to a DHIS2 server)
GNU General Public License v3.0
4 stars 4 forks source link

WebView, scrolling issue #2138

Open ifoche opened 6 years ago

ifoche commented 6 years ago

Alpha tester report

James created an app to implement the WebView and diagnose the issue: https://apps.psi-mis.org/apk/connectDemo.apk

This apps loads the following url: https://apps.psi-mis.org/connect-dev3/pages/ipc.html?skipHeader=true&action=ipcOpenReferrals&userName=8004&password=1234

I cannot scroll to the end of the popup (with the "Overdue" view) with the Connect app, but it does not replicates with James' app, as demonstrated in the following video: https://drive.google.com/file/d/1-nrrvdiNX-mzR1AQtsI9oy-nRmHMCt6A/view?usp=drivesdk

I did test with the 2 following devices:

3,5-inch, 320×480 5-inch, 1080 x 1920 Looking at this, it seems that the issue should be dealt with on Android's side. Below I copy some more elements from James:

I think it might have to do with the 'Layout' types and 'layout_width', 'layout_height' being set to 'match_parent'. Android is quite particular with the 'Layout' types (which types are used and how they are mixed) and how the layout_width/height is used depending on the situation. I don't know much about it myself. I am including my files in attachment. I will send entire project if needed.

I include the files attached by James.

ifoche commented 6 years ago

125516c66e82c728ace21e0d46fa9197398181ad9ceaad4ca851f99a2e4f34603c01a6267280e72cba466c040d1f1ffb144a4356bcbbd671f3e57862804e0ee4d36f0b25903c43f9b08a16ec01ba23824ed4e0e8884cd2f42f67b6d5db1063474f4dcbed5727a29b41c95df44ce74a50ad173765e1762431.zip