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

Android Lollipop - Preferences Activity no longer has action bar

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 5.0.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      SDK 4.1.0/Android 5.0

    • Story Points:
      3
    • Sprint:
      2015 Sprint 17 SDK

      Description

      Upgraded my app to SDK 4.0.0+. I noticed that the preferences activity no longer has the action bar (title bar). In previous version it does.

      Create a default Alloy project with the following:

      index.xml

      <Alloy>
      	<Window />
      </Alloy>
      

      index.js

      $.index.open();
      Ti.UI.Android.openPreferences();
      

      preferences.xml

      <?xml version="1.0" encoding="utf-8"?>
      <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" android:title="TITLE">
          <CheckBoxPreference
              android:key="key1"
              android:title="this is key 1"
              android:summary="key 1 summary"
              android:defaultValue="false" />
          <CheckBoxPreference
              android:key="key2"
              android:title="this is key 2"
              android:summary="key 2 summary"
              android:defaultValue="false" />
      </PreferenceScreen>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msamah Ashraf Abu (Inactive)
                Reporter:
                shawnlan Shawn Lan
                Reviewer:
                Ashraf Abu (Inactive)
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code