Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-15021] adding ActionBar support library to enable ActionBar on all Android versions #4591

Closed
wants to merge 1 commit into from

Conversation

mokesmokes
Copy link
Contributor

Using the new Android Support Library to enable ActionBar across the board.
See http://www.youtube.com/watch?v=6TGgYqfJnyc for general info on this.
The submitted pull request builds cleanly, however it currently doesn't pass testing since the required Theme.AppCompat... in the test app's AndroidManifest.xml is not found by Studio. Google's instructions for applying a support library with resources (see http://developer.android.com/tools/support-library/setup.html ) don't directly apply to Titanium SDK development, and I am not expert enough on Titanium Android build integration to fix that step. Hopefully someone with knowledge of this process can at least perform that step - this support library would be a huge improvement!

To test: (currently fails)

  1. Create a new Titanium mobile project for Android
  2. Put android:theme="@style/Theme.AppCompat.Light.DarkActionBar" (for example) in AndroidManifest.xml for at least one of the app's activities.
  3. Run on both API 10 and on API 11+ - should see ActionBar in all cases.

@innerdaze
Copy link

Hi Mark, did you get any further with this?

@mokesmokes
Copy link
Contributor Author

Nope, see my comments here: https://jira.appcelerator.org/browse/TIMOB-15021
It's hingeing on another issue.

@hieupham007
Copy link
Contributor

Mark, thank you very much for your contribution. We've reused some of your code to integrate AppCompat to Titanium. Please see https://jira.appcelerator.org/browse/TIMOB-15021 for more details. Closing PR.

@hieupham007 hieupham007 closed this Mar 4, 2014
@mokesmokes mokesmokes deleted the TC-2786 branch March 4, 2014 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants