Hi All, I'm trying to set Theme.AppCompat.Light theme for my android application. I have followed the examples provided here: http://docs.appcelerator.com/titanium/latest/#!/guide/Android_Themes-section-34636181_AndroidThemes-Built-inThemes
Environment info: Titanium Studio, build: 3.3.0.201406200844, SDK version 3.3.0.RC. Device: Samsung GT-P5200; Android version: 4.2.2
I make file platform/android/res/values/builtin_themes.xml with code in it:
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:android="http://schemas.android.com/apk/res/android"> <style name="LightDarkBar" parent="Theme.AppCompat.Light.DarkActionBar"/> <style name="Light" parent="Theme.AppCompat.Light"/> <style name="Dark" parent="Theme.AppCompat"/> </resources> <!-- Works for Titanium SDK 3.3.0 and later -->And in tiapp.xml i have:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest android:versionCode="1" android:versionName="1.0"> <application android:theme="@style/Light"/> <uses-sdk android:maxSdkVersion="19" android:minSdkVersion="14" android:targetSdkVersion="17"/> </manifest> </android>When run application still have action bar as it is with Dark theme(in black). How can I use Theme.AppCompat.Light theme?