Android 材质视图寻呼机库的样式问题
嗨,我刚刚导入了Material view pager库,但它显示了样式资源中的错误,我使用了appcompact 7 hear是样式代码-Android 材质视图寻呼机库的样式问题,android,styles,themes,android-appcompat,Android,Styles,Themes,Android Appcompat,嗨,我刚刚导入了Material view pager库,但它显示了样式资源中的错误,我使用了appcompact 7 hear是样式代码- <resources xmlns:tools="http://schemas.android.com/tools"> <style name="MVP_AppBaseTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"> <
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="MVP_AppBaseTheme"
parent="@style/Theme.AppCompat.Light.NoActionBar">
</style>
<!-- Base application theme. -->
<style name="MVP_AppTheme" parent="MVP_AppBaseTheme">
<item name="android:textColorPrimary">@android:color/white</item>
<item name="drawerArrowStyle">@style/MVP_DrawerArrowStyle</item>
<item name="android:windowTranslucentStatus" tools:targetApi="19">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="windowActionBar">false</item>
<!-- Toolbar Theme / Apply white arrow -->
<item name="colorControlNormal">@android:color/white</item>
<item name="actionBarTheme">@style/MVP_AppTheme.ActionBarTheme</item>
<!-- Material Theme -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/accent_color</item>
<item name="android:statusBarColor" tools:targetApi="21">@color/statusBarColor</item>
<item name="android:navigationBarColor" tools:targetApi="21">@color/navigationBarColor</item>
<item name="android:windowDrawsSystemBarBackgrounds" tools:targetApi="21">true</item>
</style>
<style name="MVP_AppTheme.ActionBarTheme" parent="@style/ThemeOverlay.AppCompat.ActionBar">
<!-- White arrow -->
<item name="colorControlNormal">@android:color/white</item>
</style>
<style name="MVP_DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="spinBars">true</item>
<item name="color">@color/drawerArrowColor</item>
</style>
@android:彩色/白色
@样式/MVP_抽屉箭头样式
真的
@空的
假的
@android:彩色/白色
@style/MVP_AppTheme.ActionBarTheme
@颜色/原色
@颜色/原色暗
@颜色/强调色
@颜色/状态栏颜色
@颜色/导航栏颜色
真的
@android:彩色/白色
真的
@颜色/抽屉颜色
在第二行结束错误
错误是
ror:检索项的父级时出错:未找到与给定名称“@style/Theme.AppCompat.Light.NoActionBar”匹配的资源。
如果你能提前感谢,请帮助我我也遇到了同样的错误
您可以尝试使用gms 7.5版
dependencies {
compile 'com.google.android.gms:play-services:7.5.+'
. . .
}
添加支持库将解决这个问题我已经准备好在我的项目中添加appcompact 7库了我已经与eclipse合作了现在我搬到android studio与gradel一起工作很好谢谢你的回复
dependencies {
compile 'com.google.android.gms:play-services:7.5.+'
. . .
}