[TIMOB-8302] Android: official support for Holo Themes
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-08-24T06:51:30.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 3.2.0 |
| Components | Android |
| Labels | insight |
| Reporter | Federico Casali |
| Assignee | Eric Merriman |
| Created | 2012-03-25T18:11:43.000+0000 |
| Updated | 2017-03-21T20:31:55.000+0000 |
A small modification in tiapp.xml or androidmanifest.xml can be done to use Holo themes.
Or custom themes can be placed inside /platform/android/res/values-11 and values-14 etc. or custom androidmanifest.xml with above changes can be used.<manifest> <application> <activity android:configChanges="keyboardHidden|orientation" android:label="AndroidPicker" android:name=".YourActivity" android:theme="@android:style/Theme.Holo"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> </manifest> <tool-api-level>14</tool-api-level>[~msamah] It sounds like Titanium already supports Holo themes: http://docs.appcelerator.com/platform/latest/#!/guide/Android_Themes-section-34636181_AndroidThemes-AndroidHoloColorsGenerator. If it does, then we should resolve this ticket as fixed and set the fix version to whatever SDK release it was supported. As a reference, Titanium SDK 3.2.0 is the first release with the Node.js Android build.
You are correct. You can just modify the themes to use Holo if needed. Ticket can be closed/resolved.
Resolving as fixed. Not sure the exact version it was available, so I'm going to guess 3.2.0.
Closing ticket as fixed.