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

Hyperloop: Android - Expose all missing Android R resource types to Ti.Android.R


    • Type: New Feature
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.3.0
    • Component/s: Android, Hyperloop
    • Labels:
    • Story Points:
    • Sprint:
      2018 Sprint 06 SDK, 2018 Sprint 07 SDK, 2018 Sprint 08 SDK, 2018 Sprint 09 SDK, 2018 Sprint 10 SDK, 2018 Sprint 11 SDK


      We support a couple of Android R resources types in Titanium already.

      With having Hyperloop these days, we are able to perform powerful Android interactions like the BottomNavigationView, RecyclerView API's. It's convenient to load the views via XML and configure them via colors and strings inside the platform/android/res/ directory. For a concrete use-case, we need to load a menu resource for the bottom navigation view, which would be Ti.Android.R.menu.xxxx, but the menu namespace is not exposed. Therefore, this ticket proposes a tiny change that basically adds all (current) Android R resources types to our resource lookup map, so developers can use the official SDK API's instead of hacking it together like in the example.

      Missing properties:

      • animator
      • bool
      • fraction
      • interpolator
      • menu
      • mipmap
      • plurals
      • raw
      • transition
      • xml




            • Assignee:
              hknoechel Hans Knöchel
              hknoechel Hans Knöchel
              Joshua Quick
            • Watchers:
              3 Start watching this issue


              • Created:

                Backbone Issue Sync

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

                  Git Integration