小编orr*_*tt3的帖子

检索项目的父项时出错 - Android Studio

在尝试刷新,构建或清理我的项目时下载New L SDK和20 SDK后,我得到了一个

Error:Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Subtitle'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.
Error:Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.PopupMenu.Small'.
Error:Error retrieving parent for item: No resource found that matches the given name '@android:TextAppearance.Material.SearchResult.Title'.
Error:Error retrieving parent for item: No …
Run Code Online (Sandbox Code Playgroud)

android android-studio

31
推荐指数
2
解决办法
4万
查看次数

更改Google地方选取器应用栏文本颜色

我真的想知道我是否能够在PlacePicker API for Android中更改Appbar文本的文本颜色.它应该从我的应用程序继承样式,但它不会那样做.

我的styles.xml如下:

<style name="MaterialParent" parent="Theme.AppCompat.Light.NoActionBar">
    <!-- ...and here we setting appcompat’s color theming attrs -->
    <item name="colorPrimary">@color/primary</item>
    <item name="colorPrimaryDark">@color/primary_dark</item>
    <item name="colorAccent">@color/accent</item>
    <item name="android:textColor">@android:color/white</item>
    <item name="android:textColorPrimary">@android:color/white</item>
    <item name="android:textColorSecondary">@color/secondary_text</item>
    <item name="icon">@color/icons</item>
    <item name="divider">@color/divider</item>
    <item name="colorControlHighlight">@color/accent_alpha26</item>

</style>

<style name="Material" parent="MaterialParent"/>
Run Code Online (Sandbox Code Playgroud)

我已经尝试过改变android:textColorPrimary,android:textColorSecondarytextColor为白色,没有运气.

在此输入图像描述

java android google-maps google-maps-api-3 google-places-api

10
推荐指数
1
解决办法
737
查看次数