Closed alexrainman closed 8 years ago
Hey Alex,
Could you please give me some more details about what exactly the error is and how to reproduce it?
I'm not sure what you mean by "makes the DatePicker move to the left when you touch it".
Thanks!
Jason
I updated the library to the latest SDK version. When you touch the DatePicker and change the date, somehow it's height change and, instead of being centered it gets moved to the left (aligned to the left). I changed the code with the one i provided and the issue is gone :)
Can you give me the details of the device you saw the error on?
Google Nexus 5 Android 5.1
I just reproduced it on an emulator and I see what you mean. Let me take a closer look at this and I'll report back later.
Okay, looks good to me! Did you want to submit a PR or do you just want me to push the changes and give you credit for it in the Changelog?
Just include the fix my friend. The credit is all yours for this amazing library. I migrated it to C# and im using it in Xamarin :)
Okay, will do! I'm glad you find it useful :)
More than useful. I will include it in a free cross platform component for Xamarin.Forms and of course, give u the credit ;)
Wow, that sounds great! Best of luck on your project!
Cheers for u 2!
The way you set the ViewPager height OnMeasure makes the DatePicker move to the left when you touch it.
Replace it with this code:
And problem fixed!