Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8302] Android: official support for Holo Themes

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2016-08-24T06:51:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsAndroid
Labelsinsight
ReporterFederico Casali
AssigneeEric Merriman
Created2012-03-25T18:11:43.000+0000
Updated2017-03-21T20:31:55.000+0000

Description

Request description

Customer is asking for supporting officially Holo Themes: http://developer.android.com/design/style/themes.html

Additional notes

Ticket request: http://support-admin.appcelerator.com/display/APP-839258

Comments

  1. Anirudh Nagesh 2012-11-12

    A small modification in tiapp.xml or androidmanifest.xml can be done to use Holo themes.
       <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>
       
    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.
  2. Chris Barber 2016-08-24

    [~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.
  3. Ashraf Abu 2016-08-24

    You are correct. You can just modify the themes to use Holo if needed. Ticket can be closed/resolved.
  4. Chris Barber 2016-08-24

    Resolving as fixed. Not sure the exact version it was available, so I'm going to guess 3.2.0.
  5. Lee Morris 2017-03-21

    Closing ticket as fixed.

JSON Source