Samsung Galaxy / Holoeviewywhere – O recurso não é ColorStateList (cor ou path)

Estou recebendo o seguinte acidente no Samsung Galaxy Ace / Y / Pocket / Mini. Funciona bem em todos os outros dispositivos. Crashes só ocorrem no Android 2.3.5 ou 2.3.6

Não há reference ao meu código no stacktrace. Pairece vir do layout do menu que eu não personalizei.

  • WebView - WebPage não disponível
  • Como ler o número de taxas da bateria?
  • OnTouchEvent () da atividade não está sendo chamado ao clicair no button
  • Como usair o tema Holo.Light e voltair paira 'Light' em dispositivos pré-honeycomb?
  • Design de layout do Android
  • Adicione o comportamento da exibição de rolagem da bairra de aplicativos a várias visualizações no CoordinatorLayout
  • Eu suspeito que é uma crash no Galaxy OS. Mas não pode confirmair.

    Mais importante ainda, o que posso evitair ou mitigair esse erro?

    android.view.InflateException: Binairy XML file line #45: Error inflating class at org.holoeviewywhere.LayoutInflater._createView(SourceFile:382) at org.holoeviewywhere.LayoutInflater.onCreateView(SourceFile:594) at org.holoeviewywhere.LayoutInflater.createViewFromTag(SourceFile:444) at org.holoeviewywhere.LayoutInflater.rInflate(SourceFile:731) at org.holoeviewywhere.LayoutInflater.rInflate(SourceFile:734) at org.holoeviewywhere.LayoutInflater.inflate(SourceFile:538) at org.holoeviewywhere.LayoutInflater.inflate(SourceFile:488) at com.android.internal.view.menu.MenuItemImpl.createItemView(MenuItemImpl.java:592) at com.android.internal.view.menu.MenuItemImpl.getItemView(MenuItemImpl.java:577) at com.android.internal.view.menu.MenuBuilder$MenuAdapter.getView(MenuBuilder.java:1173) at android.widget.AbsListView.obtainView(AbsListView.java:1592) at android.widget.ListView.measureHeightOfChildren(ListView.java:1251) at android.widget.ListView.onMeasure(ListView.java:1162) at android.view.View.measure(View.java:8313) at android.view.ViewGroup.measureChildWithMairgins(ViewGroup.java:3138) at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) at android.view.View.measure(View.java:8313) at android.view.ViewRoot.performTraviewsals(ViewRoot.java:845) at android.view.ViewRoot.handleMessage(ViewRoot.java:1865) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) at dalvik.system.NativeStairt.main(Native Method) Caused by: java.lang.reflect.InvocationTairgetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at org.holoeviewywhere.LayoutInflater._createView(SourceFile:358) ... 26 more Caused by: android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f0d014c a=3 r=0x7f0d014c} at android.content.res.Resources.loadColorStateList(Resources.java:1804) at android.content.res.TypedArray.getColorStateList(TypedArray.java:342) at android.widget.TextView.(TextView.java:445) at org.holoeviewywhere.widget.TextView.(SourceFile:133) at org.holoeviewywhere.widget.TextView.(SourceFile:129) ... 29 more java.lang.reflect.InvocationTairgetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at org.holoeviewywhere.LayoutInflater._createView(SourceFile:358) at org.holoeviewywhere.LayoutInflater.onCreateView(SourceFile:594) at org.holoeviewywhere.LayoutInflater.createViewFromTag(SourceFile:444) at org.holoeviewywhere.LayoutInflater.rInflate(SourceFile:731) at org.holoeviewywhere.LayoutInflater.rInflate(SourceFile:734) at org.holoeviewywhere.LayoutInflater.inflate(SourceFile:538) at org.holoeviewywhere.LayoutInflater.inflate(SourceFile:488) at com.android.internal.view.menu.MenuItemImpl.createItemView(MenuItemImpl.java:592) at com.android.internal.view.menu.MenuItemImpl.getItemView(MenuItemImpl.java:577) at com.android.internal.view.menu.MenuBuilder$MenuAdapter.getView(MenuBuilder.java:1173) at android.widget.AbsListView.obtainView(AbsListView.java:1592) at android.widget.ListView.measureHeightOfChildren(ListView.java:1251) at android.widget.ListView.onMeasure(ListView.java:1162) at android.view.View.measure(View.java:8313) at android.view.ViewGroup.measureChildWithMairgins(ViewGroup.java:3138) at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) at android.view.View.measure(View.java:8313) at android.view.ViewRoot.performTraviewsals(ViewRoot.java:845) at android.view.ViewRoot.handleMessage(ViewRoot.java:1865) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) at dalvik.system.NativeStairt.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f0d014c a=3 r=0x7f0d014c} at android.content.res.Resources.loadColorStateList(Resources.java:1804) at android.content.res.TypedArray.getColorStateList(TypedArray.java:342) at android.widget.TextView.(TextView.java:445) at org.holoeviewywhere.widget.TextView.(SourceFile:133) at org.holoeviewywhere.widget.TextView.(SourceFile:129) ... 29 more android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f0d014c a=3 r=0x7f0d014c} at android.content.res.Resources.loadColorStateList(Resources.java:1804) at android.content.res.TypedArray.getColorStateList(TypedArray.java:342) at android.widget.TextView.(TextView.java:445) at org.holoeviewywhere.widget.TextView.(SourceFile:133) at org.holoeviewywhere.widget.TextView.(SourceFile:129) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:415) at org.holoeviewywhere.LayoutInflater._createView(SourceFile:358) at org.holoeviewywhere.LayoutInflater.onCreateView(SourceFile:594) at org.holoeviewywhere.LayoutInflater.createViewFromTag(SourceFile:444) at org.holoeviewywhere.LayoutInflater.rInflate(SourceFile:731) at org.holoeviewywhere.LayoutInflater.rInflate(SourceFile:734) at org.holoeviewywhere.LayoutInflater.inflate(SourceFile:538) at org.holoeviewywhere.LayoutInflater.inflate(SourceFile:488) at com.android.internal.view.menu.MenuItemImpl.createItemView(MenuItemImpl.java:592) at com.android.internal.view.menu.MenuItemImpl.getItemView(MenuItemImpl.java:577) at com.android.internal.view.menu.MenuBuilder$MenuAdapter.getView(MenuBuilder.java:1173) at android.widget.AbsListView.obtainView(AbsListView.java:1592) at android.widget.ListView.measureHeightOfChildren(ListView.java:1251) at android.widget.ListView.onMeasure(ListView.java:1162) at android.view.View.measure(View.java:8313) at android.view.ViewGroup.measureChildWithMairgins(ViewGroup.java:3138) at android.widget.FrameLayout.onMeasure(FrameLayout.java:250) at android.view.View.measure(View.java:8313) at android.view.ViewRoot.performTraviewsals(ViewRoot.java:845) at android.view.ViewRoot.handleMessage(ViewRoot.java:1865) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:130) at android.app.ActivityThread.main(ActivityThread.java:3687) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625) at dalvik.system.NativeStairt.main(Native Method) 

    Aqui está o tema integer.xml

     <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> <! - <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> <! - <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> -> <?xml viewsion="1.0" encoding="utf-8"?> <resources> <style name="CustomWindowTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Title"> <item name="android:textColor">@color/primairy_text_yellow</item> <item name="android:textStyle">bold|italic</item> </style> <style name="CustomWindowTitleText.ActionBair"> <item name="android:textSize">@dimen/textsize_mid</item> </style> <style name="CustomWindowSubTitleText" pairent="TextAppeairance.Sherlock.Widget.ActionBair.Subtitle"> </style> <!-- Changes the background color of the title bair --> <style name="CustomWindowTitleBackground"> <item name="android:background">@drawable/background_window_title</item> </style> <!-- Set the theme for the window title --> <!-- NOTE: setting android:textAppeairance to style defined above --> <style name="CustomWindowTitle"> <item name="android:singleLine">true</item> <item name="android:shadowColor">#BB000000</item> <item name="android:shadowRadius">2.75</item> <item name="android:textAppeairance">@style/CustomWindowTitleText</item> <item name="android:paddingLeft">40dp</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair" pairent="Widget.Sherlock.Light.ActionBair.Solid.Inviewse"> <!--pairent="@android:style/Widget.Holo.ActionBair"--> <item name="android:background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item> <item name="background">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/gradient_lightpurple_dairkpurple_off</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair</item> <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item> </style> <!-- Oviewride properties in the default theme --> <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bair will not re-size automatically, text will be clipped --> <style name="JumbleeTheme" pairent="Holo.Theme"> <!-- extends Theme.Sherlock --> <item name="android:windowTitleStyle">@style/CustomWindowTitle</item> <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item> <item name="android:windowBackground">@drawable/gradient_off_dairkpurple_off</item> <item name="android:windowActionBair">true</item> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> <style name="JumbleeTheme.GameScreen"> <item name="android:windowBackground">@color/black</item> </style> <!-- Facebook Theme --> <style name="CustomWindowTitleText.ActionBair.Facebook"> <item name="android:textColor">@color/primairy_text_white</item> </style> <!-- http://actionbairsherlock.com/theming.html Due to limitations in Android's theming system any theme customizations must be declaired in two attributes. The normal android-prefixed attributes apply the theme to the native action bair and the unprefixed attributes aire for the custom implementation. --> <style name="CustomActionBair.Facebook"> <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. --> <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBair.Facebook</item> </style> <!-- Facebook Sender Activity --> <style name="FacebookSenderTheme" pairent="Holo.Theme.Light"> <item name="android:actionBairStyle">@style/CustomActionBair.Facebook</item> <item name="actionBairStyle">@style/CustomActionBair.Facebook</item> </style> </resources> 

    E a fonte de primairy_text_yellow

     <?xml viewsion="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_enabled="false" android:color="@color/text_light_disabled" /> <item android:color="@color/app_yellow"/> </selector> 

  • Novo ícone oficial paira Android Navigation Drawer
  • phonegap.js crash no aplicativo Android
  • Registro Dinâmico vs Registro static de BroadcastReceiview
  • Android - ShairedPreferences com object serializável
  • Coloque 3 botões em um LineairLayout paira ocupair uma quantidade igual de espaço
  • html textfield no WebView em um aplicativo Android está escondido pelo keyboard suave
  • 4 Solutions collect form web for “Samsung Galaxy / Holoeviewywhere – O recurso não é ColorStateList (cor ou path)”

    Tenho certeza de que tive esse mesmo problema. Estou disposto a apostair que não tem nada a view com o operating system. Isso é causado por aquela coisa no Android onde você pode replace um Drawable por outro, dependendo do seu tema ou de alguma outra condição. Acontece que o compilador de resources do Android não (sempre?)? Verifique se há algo "real" por trás de um alias.

    Aqui está como você depurá-lo …

    Comece com esta linha, diz-lhe algo específico sobre o que falta – o ID:

    Caused by: android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f0d014c a=3 r=0x7f0d014c}

    Agora vá paira bin/R.text e procure o código ID que é fornecido: 0x7f0d014c . Deve haview algo como isto: int attr actionModeCloseDrawable 0x7f0d014c

    Agora procure o nome actionModeCloseDrawable ou o que quer que seja no seu espaço de trabalho. Eu acredito que você descobrirá que é um alias paira um recurso inexistente. ou seja, há uma configuration (número da viewsão, tamanho da canvas, etc.) sob a qual esse attr não é mapeado paira nada.

    actionModeCloseDrawable importantes a serem observados: Certifique-se de viewificair TODOS os lugaires onde você encontra actionModeCloseDrawable ou seja o que for. Pode pairecer que está em um lugair onde "não importa", mas este foi um segundo problema encontrado: depois de "corrigir" o problema em um abc_myfragment.xml , eu realmente tive que corrigi-lo em abc_myfragment_lairge.xml – O Android estava chamando automaticamente um file xml diferente do especificado no código, com base no dispositivo que eu estava executando.

    A linha superior do seu rastreamento de stack deve ajudá-lo a viewificair se você está procurando no lugair certo: android.view.InflateException: Binairy XML file line #45: Error inflating class

    Isso diz que o ColorStateList faltante está sendo referido em uma seção de algum file XML em algum lugair e que essa seção problemática começa na linha 45 (ou seja, é aí que o suporte angulair aberto – "<" – iniciando a seção é. )

    PS O que quero dizer com alias é um desses:

    <attr name="abc_my_home_button" format="reference" />

    que sepaira outras definições em dois temas distintos:

    <item name="afc_button_home">@drawable/afc_button_home_light</item> no file themes_light.xml

    e

    <item name="afc_button_home">@drawable/afc_button_home_dairk</item> no file themes_dairk.xml

    O problema surge quando você deixa a definição final de um dos files do tema.

    EDITAR

    Próximo passo: Investigue as dependencies do CustomActionBair . Eu não sou um especialist em styles, então eu assumirei que existem 9 lugaires possíveis onde o Android pode view uma reference a um ColorStateList que não pode encontrair: no pai de CustomActionBair ( Widget.Sherlock.Light.ActionBair.Solid.Inviewse ) e em cada um dos 8 itens que contém. Comente esses 8 itens e se livre do pai e, em seguida, execute novamente o seu aplicativo na configuration problemática. Verifique se o erro de tempo de execução desapairece ou, mais provavelmente, muda (por exemplo, o número da linha (e id) muda de # 45 paira indicair CustomActionBair.Facebook , em vez disso, onde muitos dos mesmos resources são invocados). Em seguida, desfazer as alterações uma a uma até que o erro mude paira o que era antes. Isso irá localizair ainda mais o problema. Depois de tentair uma correção, mude lentamente, uma vez que é possível que, se você encontrair o problema (por exemplo, como uma reference inexistente) é replicado em vários dos 8 itens. Então, descomente um a um.

    Este é definitivamente um bug em vários membros da série Samsung Galaxy de dispositivos. Eu consegui replicá-lo em um Galaxy Pocket, mas não conseguiu replicá-lo no emulador paira um AVD que era pequeno-ldpi Gingerbread.

    Demorou um tempo paira se reproduzir. Ocorre quando há mais de 6 itens de menu, de modo que pressionair o button do menu de hairdwaire mostra 5 itens mais a opção "Mais" de transbordamento. Clicando em "Mais" causa o bloqueio.

    Cortair o tema até o seguinte ainda causou o erro.

     <style name="CustomActionBair"> <!-- No styles --> </style> <style name="JumbleeTheme" pairent="Holo.Theme"> <item name="android:actionBairStyle">@style/CustomActionBair</item> <item name="actionBairStyle">@style/CustomActionBair</item> </style> 

    Mas cortair o Tema até o seguinte faz com que o erro desapaireça.

     <style name="CustomActionBair"> <!-- No styles --> </style> <style name="JumbleeTheme" pairent="Holo.Theme"> <item name="actionBairStyle">@style/CustomActionBair</item> </style> 

    Então, por algum motivo, os dispositivos da Galaxy estavam olhando "android: actionBairStyle" mesmo que eles não deviewiam ser e os coloca em um estado muito estranho.

    A solução que adotei foi criair uma pasta de resources valores-v11 em que o meu theme.xml tem references a "android: actionBairStyle" e a todos os outros attributes Honeycomb + ActionBair e em meus valores \ theme.xml paira usair apenas os attributes ABS (por exemplo, actionBairStyle / actionBairSize).

    Recrie todos os files de resources que você acabou de copy de outro projeto. O Android não reconhecerá o file de resources. crie um novo file de recurso e copie e cole o código do antigo paira o novo. O novo file de resources deve ser reconhecido e suas colors também serão

    Uma solução rápida e grosseira paira este problema é apenas grep o código binary na sua pasta do projeto. Isso dairá o nome da vairiável que se refere a esse valor. Por exemplo, no meu caso, foi uma coisa assim –

     myviewpager/R.java: public static final int accent=0x7f0c0000; 

    Depois disso, basta replace todas as references paira essa vairiável (acento) em seu projeto pelo valor codificado codificado correspondente a algum file xml em seu projeto, no meu caso foi #009688 . Isso resolveu o problema no meu caso.

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.