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

Android: App build with targetSdkVersion > 11 should use newer themes

    Details

      Description

      Setting tool-api-version and targetSdkVersion to something about 11 should let us use the device's built-in themes, but apps still show up in the old themes unless we override the themes explicitly. I added the following to the tiapp.xml file:

          <android xmlns:android="http://schemas.android.com/apk/res/android">
          	<tool-api-level>15</tool-api-level>
          	<manifest>
          		<uses-sdk targetSdkVersion="15" />
          	</manifest>
          </android>
      

      However, the app still looks old-style on a Nexus 7. For example, menu items are displayed in the options menu, not the action bar, even if showAsAction is set. And for that matter--no action bar.

      Testing with the sample code for Action Items from TIMOB-9910.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                aevans Arthur Evans
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration