android - Error: Error "No resource found that matches the given name: attr 'vpiTabPageIndicatorStyle'" when building with maven -


i've maven project viewpagerindicator added submodule. i'm trying add custom style tabpageindicator. here styles code:

<style name="apptheme" parent="@android:style/android:theme.notitlebar">     <item name="android:textcolor">@color/text</item>     <item name="android:background">@null</item>     <item name="vpitabpageindicatorstyle">@style/customtabpageindicator</item> </style>  <style name="customtabpageindicator" parent="widget.tabpageindicator">     <item name="android:textcolor">@drawable/text_tab_bar_color</item>     <item name="android:dividerpadding">10dp</item>     <item name="android:showdividers">middle</item>     <item name="android:paddingleft">8dp</item>     <item name="android:paddingright">8dp</item>     <item name="android:background">@null</item> </style> 

when build project intellij idea everythig ok. when try build project using maven build fails folowing error:

[info] /<my_path>/styles.xml:6: error: error: no resource found matches given name: attr 'vpitabpageindicatorstyle'. [info] /<my_path>/styles.xml:9: error: error retrieving parent item: no resource found matches given name 'widget.tabpageindicator'. 

what can wrong configuration?

most didn't add viewpagerindicator in build path.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -