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

Android: Update ProgressBars/ActivityIndicators to use material theme

    Details

      Description

      Summary:
      We should replace our usage of the native Java ProgressBar with the material LinearProgressIndicator and CircularProgressIndicator classes.

      This effects the following Titanium APIs:

      Note:
      The material progress indicators are colored and sized differently compared to the older widgets.
      https://material.io/components/progress-indicators#linear-progress-indicators

      Activity Indicator Test:
      This can be tested with the attached ActivityIndicatorTest.js, which will display what's shown below.

      Progress Bar Test:
      This can be tested with the attached ProgressBarTest.js, which will display what's shown below.

      Breaking-Change:
      The app must use a "Theme.MaterialComponents" based theme or else an exception will occur. So, app's using a custom theme based from "Theme.AppCompat" or similar will crash. This is normal and the exception will state that the theme will need to change.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                jquick Joshua Quick
                Reviewer:
                Gary Mathews
                Tester:
                Satyam Sekhri
              • Watchers:
                3 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