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

Android: Add "style" property to "Ti.UI.OptionDialog" for bottom-sheet support

    Details

      Description

      Summary:
      On Android, the Ti.UI.OptionDialog currently displays a modal dialog at the center of the screen.

      We would also like the ability to display the option dialog as a "BottomSheet" dialog based on Google's material design here...
      https://material.io/design/components/sheets-bottom.html

      Recommended Solution:
      Add a creation-only "style" property to Ti.UI.OptionDialog. By default (when not assigned), it would default to the current dialog we have. When the "style" property is set to a bottom-sheet constant, then it should use the BottomSheetDialog Android class instead.

      Note:
      This feature is currently available via the following module...
      https://github.com/hansemannn/titanium-android-bottom-sheet

        Attachments

          Activity

            People

            • Assignee:
              jquick Joshua Quick
              Reporter:
              jquick Joshua Quick
            • Watchers:
              10 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