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

Android: Extend drawerLockMode to set Gravity

    Details

    • Type: New Feature
    • Status: In Review
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Release 9.0.1
    • Component/s: Android
    • Labels:

      Description

      Description
      The current DrawerLayout.drawerLockMode supports only:

      • LOCK_MODE_LOCKED_CLOSED
      • LOCK_MODE_LOCKED_OPEN
      • LOCK_MODE_UNDEFINED
      • LOCK_MODE_UNLOCKED

      for both views (left/right) at the same time.
      Extending it so it will you the second parameter "Gravity":
      https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html#setDrawerLockMode(int,%20int)
      would allow users to set the lock mode individually for each view.

      Proposal:
      Changing the int parameter to a dictionary of:

      • drawerLockMode : Number (see above)
      • drawerGravity: Number (LEFT, RIGHT)

      Source code
      Property at Github
      would be a place to start

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              michael Michael Gangolf
              Tester:
              Satyam Sekhri
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code