Advertisement
Guest User

Untitled

a guest
Jun 15th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.78 KB | None | 0 0
  1. android.view.InflateException: Binary XML file line #45: Error inflating class
  2. at org.holoeverywhere.LayoutInflater._createView(SourceFile:382)
  3. at org.holoeverywhere.LayoutInflater.onCreateView(SourceFile:594)
  4. at org.holoeverywhere.LayoutInflater.createViewFromTag(SourceFile:444)
  5. at org.holoeverywhere.LayoutInflater.rInflate(SourceFile:731)
  6. at org.holoeverywhere.LayoutInflater.rInflate(SourceFile:734)
  7. at org.holoeverywhere.LayoutInflater.inflate(SourceFile:538)
  8. at org.holoeverywhere.LayoutInflater.inflate(SourceFile:488)
  9. at com.android.internal.view.menu.MenuItemImpl.createItemView(MenuItemImpl.java:592)
  10. at com.android.internal.view.menu.MenuItemImpl.getItemView(MenuItemImpl.java:577)
  11. at com.android.internal.view.menu.MenuBuilder$MenuAdapter.getView(MenuBuilder.java:1173)
  12. at android.widget.AbsListView.obtainView(AbsListView.java:1592)
  13. at android.widget.ListView.measureHeightOfChildren(ListView.java:1251)
  14. at android.widget.ListView.onMeasure(ListView.java:1162)
  15. at android.view.View.measure(View.java:8313)
  16. at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
  17. at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
  18. at android.view.View.measure(View.java:8313)
  19. at android.view.ViewRoot.performTraversals(ViewRoot.java:845)
  20. at android.view.ViewRoot.handleMessage(ViewRoot.java:1865)
  21. at android.os.Handler.dispatchMessage(Handler.java:99)
  22. at android.os.Looper.loop(Looper.java:130)
  23. at android.app.ActivityThread.main(ActivityThread.java:3687)
  24. at java.lang.reflect.Method.invokeNative(Native Method)
  25. at java.lang.reflect.Method.invoke(Method.java:507)
  26. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
  27. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
  28. at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException
  29. at java.lang.reflect.Constructor.constructNative(Native Method)
  30. at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
  31. at org.holoeverywhere.LayoutInflater._createView(SourceFile:358)
  32. ... 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}
  33. at android.content.res.Resources.loadColorStateList(Resources.java:1804)
  34. at android.content.res.TypedArray.getColorStateList(TypedArray.java:342)
  35. at android.widget.TextView.(TextView.java:445)
  36. at org.holoeverywhere.widget.TextView.(SourceFile:133)
  37. at org.holoeverywhere.widget.TextView.(SourceFile:129)
  38. ... 29 more java.lang.reflect.InvocationTargetException
  39. at java.lang.reflect.Constructor.constructNative(Native Method)
  40. at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
  41. at org.holoeverywhere.LayoutInflater._createView(SourceFile:358)
  42. at org.holoeverywhere.LayoutInflater.onCreateView(SourceFile:594)
  43. at org.holoeverywhere.LayoutInflater.createViewFromTag(SourceFile:444)
  44. at org.holoeverywhere.LayoutInflater.rInflate(SourceFile:731)
  45. at org.holoeverywhere.LayoutInflater.rInflate(SourceFile:734)
  46. at org.holoeverywhere.LayoutInflater.inflate(SourceFile:538)
  47. at org.holoeverywhere.LayoutInflater.inflate(SourceFile:488)
  48. at com.android.internal.view.menu.MenuItemImpl.createItemView(MenuItemImpl.java:592)
  49. at com.android.internal.view.menu.MenuItemImpl.getItemView(MenuItemImpl.java:577)
  50. at com.android.internal.view.menu.MenuBuilder$MenuAdapter.getView(MenuBuilder.java:1173)
  51. at android.widget.AbsListView.obtainView(AbsListView.java:1592)
  52. at android.widget.ListView.measureHeightOfChildren(ListView.java:1251)
  53. at android.widget.ListView.onMeasure(ListView.java:1162)
  54. at android.view.View.measure(View.java:8313)
  55. at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
  56. at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
  57. at android.view.View.measure(View.java:8313)
  58. at android.view.ViewRoot.performTraversals(ViewRoot.java:845)
  59. at android.view.ViewRoot.handleMessage(ViewRoot.java:1865)
  60. at android.os.Handler.dispatchMessage(Handler.java:99)
  61. at android.os.Looper.loop(Looper.java:130)
  62. at android.app.ActivityThread.main(ActivityThread.java:3687)
  63. at java.lang.reflect.Method.invokeNative(Native Method)
  64. at java.lang.reflect.Method.invoke(Method.java:507)
  65. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
  66. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
  67. at dalvik.system.NativeStart.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}
  68. at android.content.res.Resources.loadColorStateList(Resources.java:1804)
  69. at android.content.res.TypedArray.getColorStateList(TypedArray.java:342)
  70. at android.widget.TextView.(TextView.java:445)
  71. at org.holoeverywhere.widget.TextView.(SourceFile:133)
  72. at org.holoeverywhere.widget.TextView.(SourceFile:129)
  73. ... 29 more android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x1/d=0x7f0d014c a=3 r=0x7f0d014c}
  74. at android.content.res.Resources.loadColorStateList(Resources.java:1804)
  75. at android.content.res.TypedArray.getColorStateList(TypedArray.java:342)
  76. at android.widget.TextView.(TextView.java:445)
  77. at org.holoeverywhere.widget.TextView.(SourceFile:133)
  78. at org.holoeverywhere.widget.TextView.(SourceFile:129)
  79. at java.lang.reflect.Constructor.constructNative(Native Method)
  80. at java.lang.reflect.Constructor.newInstance(Constructor.java:415)
  81. at org.holoeverywhere.LayoutInflater._createView(SourceFile:358)
  82. at org.holoeverywhere.LayoutInflater.onCreateView(SourceFile:594)
  83. at org.holoeverywhere.LayoutInflater.createViewFromTag(SourceFile:444)
  84. at org.holoeverywhere.LayoutInflater.rInflate(SourceFile:731)
  85. at org.holoeverywhere.LayoutInflater.rInflate(SourceFile:734)
  86. at org.holoeverywhere.LayoutInflater.inflate(SourceFile:538)
  87. at org.holoeverywhere.LayoutInflater.inflate(SourceFile:488)
  88. at com.android.internal.view.menu.MenuItemImpl.createItemView(MenuItemImpl.java:592)
  89. at com.android.internal.view.menu.MenuItemImpl.getItemView(MenuItemImpl.java:577)
  90. at com.android.internal.view.menu.MenuBuilder$MenuAdapter.getView(MenuBuilder.java:1173)
  91. at android.widget.AbsListView.obtainView(AbsListView.java:1592)
  92. at android.widget.ListView.measureHeightOfChildren(ListView.java:1251)
  93. at android.widget.ListView.onMeasure(ListView.java:1162)
  94. at android.view.View.measure(View.java:8313)
  95. at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3138)
  96. at android.widget.FrameLayout.onMeasure(FrameLayout.java:250)
  97. at android.view.View.measure(View.java:8313)
  98. at android.view.ViewRoot.performTraversals(ViewRoot.java:845)
  99. at android.view.ViewRoot.handleMessage(ViewRoot.java:1865)
  100. at android.os.Handler.dispatchMessage(Handler.java:99)
  101. at android.os.Looper.loop(Looper.java:130)
  102. at android.app.ActivityThread.main(ActivityThread.java:3687)
  103. at java.lang.reflect.Method.invokeNative(Native Method)
  104. at java.lang.reflect.Method.invoke(Method.java:507)
  105. at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
  106. at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
  107. at dalvik.system.NativeStart.main(Native Method)
  108.  
  109. <?xml version="1.0" encoding="utf-8"?>
  110. <resources>
  111.  
  112. <style name="CustomWindowTitleText" parent="TextAppearance.Sherlock.Widget.ActionBar.Title">
  113. <item name="android:textColor">@color/primary_text_yellow</item>
  114. <item name="android:textStyle">bold|italic</item>
  115. </style>
  116.  
  117. <style name="CustomWindowTitleText.ActionBar">
  118. <item name="android:textSize">@dimen/textsize_mid</item>
  119. </style>
  120.  
  121. <style name="CustomWindowSubTitleText" parent="TextAppearance.Sherlock.Widget.ActionBar.Subtitle">
  122. </style>
  123.  
  124.  
  125. <!-- Changes the background color of the title bar -->
  126. <style name="CustomWindowTitleBackground">
  127. <item name="android:background">@drawable/background_window_title</item>
  128. </style>
  129.  
  130. <!-- Set the theme for the window title -->
  131. <!-- NOTE: setting android:textAppearance to style defined above -->
  132. <style name="CustomWindowTitle">
  133. <item name="android:singleLine">true</item>
  134. <item name="android:shadowColor">#BB000000</item>
  135. <item name="android:shadowRadius">2.75</item>
  136. <item name="android:textAppearance">@style/CustomWindowTitleText</item>
  137. <item name="android:paddingLeft">40dp</item>
  138. </style>
  139.  
  140. <!--
  141. http://actionbarsherlock.com/theming.html
  142. Due to limitations in Android's theming system any theme customizations must be declared in two attributes.
  143. The normal android-prefixed attributes apply the theme to the native action bar and the unprefixed attributes are for the custom implementation.
  144. -->
  145. <style name="CustomActionBar" parent="Widget.Sherlock.Light.ActionBar.Solid.Inverse"> <!--parent="@android:style/Widget.Holo.ActionBar"-->
  146. <item name="android:background">@drawable/gradient_lightpurple_darkpurple_off</item> <!-- Use background that has color but not icon. -->
  147. <item name="android:backgroundSplit">@drawable/gradient_lightpurple_darkpurple_off</item> <!-- Use background that has color but not icon. -->
  148. <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBar</item>
  149. <item name="android:subtitleTextStyle">@style/CustomWindowSubTitleText</item>
  150.  
  151. <item name="background">@drawable/gradient_lightpurple_darkpurple_off</item> <!-- Use background that has color but not icon. -->
  152. <item name="backgroundSplit">@drawable/gradient_lightpurple_darkpurple_off</item> <!-- Use background that has color but not icon. -->
  153. <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBar</item>
  154. <item name="subtitleTextStyle">@style/CustomWindowSubTitleText</item>
  155. </style>
  156.  
  157. <!-- Override properties in the default theme -->
  158. <!-- NOTE: If you change the windowTitleTextSize you must explicitly the windowTitleSize property, the title bar will not re-size automatically, text will be clipped -->
  159. <style name="JumbleeTheme" parent="Holo.Theme"> <!-- extends Theme.Sherlock -->
  160. <item name="android:windowTitleStyle">@style/CustomWindowTitle</item>
  161. <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>
  162. <item name="android:windowBackground">@drawable/gradient_off_darkpurple_off</item>
  163. <item name="android:windowActionBar">true</item>
  164. <item name="android:actionBarStyle">@style/CustomActionBar</item>
  165. <item name="actionBarStyle">@style/CustomActionBar</item>
  166. </style>
  167.  
  168. <style name="JumbleeTheme.GameScreen">
  169. <item name="android:windowBackground">@color/black</item>
  170. </style>
  171.  
  172.  
  173. <!-- Facebook Theme -->
  174.  
  175. <style name="CustomWindowTitleText.ActionBar.Facebook">
  176. <item name="android:textColor">@color/primary_text_white</item>
  177. </style>
  178. <!--
  179. http://actionbarsherlock.com/theming.html
  180. Due to limitations in Android's theming system any theme customizations must be declared in two attributes.
  181. The normal android-prefixed attributes apply the theme to the native action bar and the unprefixed attributes are for the custom implementation.
  182. -->
  183. <style name="CustomActionBar.Facebook">
  184. <item name="android:background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. -->
  185. <item name="android:backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. -->
  186. <item name="android:titleTextStyle">@style/CustomWindowTitleText.ActionBar.Facebook</item>
  187.  
  188. <item name="background">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. -->
  189. <item name="backgroundSplit">@drawable/background_window_title_facebook</item> <!-- Use background that has color but not icon. -->
  190. <item name="titleTextStyle">@style/CustomWindowTitleText.ActionBar.Facebook</item>
  191. </style>
  192.  
  193. <!-- Facebook Sender Activity -->
  194. <style name="FacebookSenderTheme" parent="Holo.Theme.Light">
  195. <item name="android:actionBarStyle">@style/CustomActionBar.Facebook</item>
  196. <item name="actionBarStyle">@style/CustomActionBar.Facebook</item>
  197. </style>
  198. </resources>
  199.  
  200. <?xml version="1.0" encoding="utf-8"?>
  201. <selector xmlns:android="http://schemas.android.com/apk/res/android">
  202. <item android:state_enabled="false" android:color="@color/text_light_disabled" />
  203. <item android:color="@color/app_yellow"/>
  204. </selector>
  205.  
  206. <style name="CustomActionBar">
  207. <!-- No styles -->
  208. </style>
  209.  
  210. <style name="JumbleeTheme" parent="Holo.Theme">
  211. <item name="android:actionBarStyle">@style/CustomActionBar</item>
  212. <item name="actionBarStyle">@style/CustomActionBar</item>
  213. </style>
  214.  
  215. <style name="CustomActionBar">
  216. <!-- No styles -->
  217. </style>
  218.  
  219. <style name="JumbleeTheme" parent="Holo.Theme">
  220. <item name="actionBarStyle">@style/CustomActionBar</item>
  221. </style>
  222.  
  223. myviewpager/R.java: public static final int accent=0x7f0c0000;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement