Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Can't use theme 'Theme.AppCompat.Light'.

$
0
0

I can't apply theme Theme.AppCompat.Light by guide Android Themes.

While compile process I get error:

Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
In my project: my_project/platform/android/res/values/custom_themes.xml
<?xml version="1.0" encoding="utf-8"?>
<resources> 
    <style name="Theme.myTheme" parent="Theme.AppCompat.Light" /></style>
    <!-- Overrides the default cursor color -->
    <style name="editText" parent="@android:style/Widget.EditText">
        <item name="android:textCursorDrawable">@null</item>
    </style>
</resources>
tiapp.xml:
...
<android xmlns:android="http://schemas.android.com/apk/res/android">   
    <tool-api-level>14</tool-api-level>     
        <manifest>          
            <application android:theme="@style/Theme.myTheme"/>         
            <uses-sdk targetSdkVersion="14"/>
...
Android Support Library and Android Support Repository installed.
Application type: mobile
Titanium SDK: 3.2.2.GA
Platform & version: Android 4.2.2 (genymotion)
Device: Genymotion emulator
Host Operating System: Ubuntu 12.04.3 LTS
Titanium Studio: 3.2.1.201402041146

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>