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

Android: Add "Ti.UI.ButtonBar" support

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android
    • Story Points:
      7
    • Sprint:
      2018 Sprint 12 SDK

      Description

      Summary:
      Currently, Titanium's ButtonBar is an iOS only feature. We should add support on Android for parity.

      On iOS, this feature is implemented via the UISegmentedControl whose "momentary" style is set to true. This means the UISegmentedControl doesn't maintain a check/selection state and acts like buttons.

      On Android and Windows, this should be implemented as a horizontal layout of buttons.

      Note:
      The ButtonBar "style" property has been deprecated on iOS since Titanium 3.4.2 and will log a warning when you attempt to set it. iOS currently ignores this property. We can re-purpose this property to implement the 3 different button styles documented by Google's material theme: "Text Button", "Outlined Button", and "Contained Button".
      https://material.io/design/components/buttons.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ybanev Yordan Banev
                Reporter:
                jquick Joshua Quick
              • Watchers:
                3 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