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

Android: ActionBar height won't resize on screen rotation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.5.0
    • Component/s: Android
    • Environment:

      Titanium SDK 7.0.1 and 7.0.2

      Tested on:

      • Nexus 5X, Android 7.1.0 (emulator)
      • Xiaomi Redmi Note 4, Android 7.0 (device)
    • Story Points:
      13
    • Sprint:
      2018 Sprint 21, 2018 Sprint 22

      Description

      Summary:
      The ActionBar on Android won't resize when the device rotates.

      As seen in Material Design guidelines, when a mobile is on landscape, ActionBar's height is 48dp, while on portrait it's 56dp.

      Attached is a video demonstrating the issue.

      Steps to reproduce:

      1. Position an Android device in portrait.
      2. Build and run a default Classic app project on that Android device.
      3. Note the height of the top titlebar.
      4. Rotate the device to landscape.
      5. Notice the titlebar height does not shrink. (This is the bug.)
      6. Keep holding the device at landscape and back out of the app.
      7. Launch the app in landscape form.
      8. Notice that the titlebar height is smaller upon launch.
      9. Rotate the device to portrait.
      10. Notice that the titlebar height has not increased. (This is the bug.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                gfigueras Guillermo Figueras
                Reviewer:
                Yordan Banev
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6207
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code