Details

      Description

      Now that we have integrated appcompat libraries, the next step is to extend ActionBarActivity to TiBaseActivity, set up custom themes and add support for ActionBarActivity (ActionBar support for older devices)

      Android theme source for reference: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes.xml

      Testing steps:
      1. Run scons and make sure basic titanium apps run successfully.
      2. Run Anvil to make sure no new failures
      3. Run this code on both HoneyComb+ and 2.x devices

      var tabgroup = Ti.UI.createTabGroup();
      var win1 = Ti.UI.createWindow({backgroundColor: 'red'});
      var tab = Ti.UI.createTab({window: win1, title: 'Tab1'});
      var win2 = Ti.UI.createWindow({backgroundColor: 'blue'});
      var tab2 = Ti.UI.createTab({window: win2, title: 'Tab2'});
      tabgroup.addTab(tab);
      tabgroup.addTab(tab2);
      tabgroup.open();
      
      

      You should see the action bar with 2.x device.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hpham Hieu Pham
                Reporter:
                hpham Hieu Pham
                Reviewer:
                Vishal Duggal (Inactive)
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    Sync status:
                    ERROR
                    Last sent:

                    Git Integration