vikramkakkar / SublimePicker

A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.
Apache License 2.0
2.31k stars 407 forks source link

TimePicker is not shown on landscape orientation #31

Closed albertovelazmoliner closed 1 year ago

albertovelazmoliner commented 8 years ago

TimePicker is not shown on landscape orientation, and I'm getting this log:

D/android.support.v7.widget.GridLayout: horizontal constraints: x1-x0>=503, x2-x1>=816, x2-x0<=1176 are inconsistent; permanently removing: x2-x0<=1176.
D/android.support.v7.widget.GridLayout: vertical constraints: y1-y0>=0, y2-y1>=720, y3-y2>=192, y3-y0<=909 are inconsistent; permanently removing: y3-y0<=909.

It's happening in Nexus 4 (Android 5.1), Nexus 5 (Android 5.0) and Samsung S5 (Android 5.1) with your original project in github.

device-2016-05-18-090117

vikramkakkar commented 8 years ago

This is odd since the sample app was tested on both nex 4 & 5. I will look into what the log messages are saying, but I already have an alternate layout coded up (thanks to #27) - one that does not use GridLayout. I believe that clipping on smaller screens (~< 300dp) will be more acceptable than the screenshot above.

albertovelazmoliner commented 8 years ago

Yes, you're right, I didn't see the issue #27 . Thanks

albertovelazmoliner commented 1 year ago

It's done