Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-27505

Android: Configuration change not saved in context for API < 26

    Details

      Description

      One of configuration parameters than not being saved is activity orientation.
      In my case this affects layout used by Date Picker Dialog (see attached gifs):

      • when orientation is vertical day of week and month should be above the calendar
      • when orientation is horizontal - left of the calendar

      It works fine on API >= 26, but is broken for <26.

      Sample application is in the attachment.

        Attachments

        1. 1569750810528.JPEG
          1569750810528.JPEG
          23 kB
        2. 1569750969144.JPEG
          1569750969144.JPEG
          18 kB
        3. 24_H.gif
          24_H.gif
          1.97 MB
        4. 24_V.gif
          24_V.gif
          2.10 MB
        5. 25_H.gif
          25_H.gif
          2.07 MB
        6. 25_V.gif
          25_V.gif
          2.17 MB
        7. 26_H.gif
          26_H.gif
          2.02 MB
        8. 26_V.gif
          26_V.gif
          2.13 MB
        9. app.js
          0.7 kB
        10. fix(android)__configuration_change_not_saved_in_current_context.patch
          0.9 kB
        11. landscape_7.png
          landscape_7.png
          58 kB
        12. potrait_7.png
          potrait_7.png
          55 kB
        13. Screen Shot 2019-10-26 at 10.49.20 PM.png
          Screen Shot 2019-10-26 at 10.49.20 PM.png
          96 kB

          Activity

            People

            • Assignee:
              cwilliams Christopher Williams
              Reporter:
              s.volkov Sergey Volkov
              Tester:
              Samir Mohammed
            • Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration