titanium android action bar color 変更
ionicでandroidアプリを作ってみたけど、動作がもっさりしすぎで使えないと判断したため
またtitaniumに戻ってきた
しばらく使ってなかった間にaction barがデフォルト?になってて
けど色の変え方が分らなかったので調べた
1.ジェネレーターで色変えて
2.作ったzipをダウンロードしてplatform/android/resに展開
3.tiapp.xmlにtheme指定
<android xmlns:android="http://schemas.android.com/apk/res/android"> <tool-api-level>14</tool-api-level> <manifest> <application android:theme="@style/Theme.Example"/> <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="16"/> </manifest> </android>
いけたー
・・・けどtishadowだと色変わらん・・・
参考
Custom Android Action Bar and Holo Themes in Titanium - adampaxton.com