Collect: Calendar numbers are unreadable on Android 4.1.2

Created on 1 Mar 2017  路  6Comments  路  Source: getodk/collect

Software and hardware versions

Collect v1.4.16-18-gd398fc05, Android 4.1.2 Nexus 5 emulator

Problem description

screen shot 2017-03-01 at 12 48 59 pm

Steps to reproduce the problem

  1. Download a form with a calendar question such as New Widgets from the default test server
  2. Go to the question with the calendar widget

Expected behavior

From API 22 emulator:
screen shot 2017-03-01 at 12 52 07 pm

Other information

The calendar scrolling is also not optimal but that should be addressed as a separate issue.

bug help wanted needs reproduction user experience

Most helpful comment

For now I think we should try to just make the numbers the same size across Android versions if possible.

I do agree that the date and date-time widgets need rethinking. If you could file a separate issue with your thoughts on what that would look like, that would be very helpful. Before doing that, I recommend you check out the related issues filed by @dalerhoda.

All 6 comments

How about we input the date from user in custom dialog box?

For now I think we should try to just make the numbers the same size across Android versions if possible.

I do agree that the date and date-time widgets need rethinking. If you could file a separate issue with your thoughts on what that would look like, that would be very helpful. Before doing that, I recommend you check out the related issues filed by @dalerhoda.

@lognaturel I'm onto this issue for now

@lognaturel I build the latest code and installed it on Samsung GT-S5282 Android 4.1.2, API 16 but couldn't find the reported issue.

Attached image is of the same device
device-2017-03-02-002921

Could you also give information of the details of screen of the android 4.1.2 emulator used

That is very strange, @shobhitagarwal1612. I've updated my initial issue to say I was using a Nexus 5 emulator. I'm not sure whether that's relevant or perhaps it's a screen size/resolution related issue. I also notice that your numbers are perfectly centered but mine on API 22 are aligned with the top of each line so evidently there are some inconsistencies with this widget. Perhaps @grzesiek2010 has some ideas as he's dealt with weird bugs in this area before.

It's pretty easy to reproduce you have to use vd Nexus 5 and Android 4.1 as @lognaturel mentioned.
http://stackoverflow.com/questions/14980242/small-numbers-in-calendarview-android
they say it's been fixed in 4.2 and there is a solution there too (I didn't test that solution).

Was this page helpful?
0 / 5 - 0 ratings