MaterialSearchBar icon indicating copy to clipboard operation
MaterialSearchBar copied to clipboard

resource not found when compile, solved by adding a android name space.

Open jiangying000 opened this issue 7 years ago • 1 comments

Hi mancj, Thanks for the nice searchBar.

I encounered a small issue when i use AS 3.0 beta 6, gradle 4.1 with the code

<com.mancj.materialsearchbar.MaterialSearchBar
    style="@style/MaterialSearchBarLight"
    app:mt_speechMode="true"
    app:mt_hint="Custom hint"
    app:mt_maxSuggestionsCount="10"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:id="@+id/searchBar" />

I got an err, can't resolve the symbol or when compile Error:resource style/MaterialSearchBarLight (aka com.dm.package:style/MaterialSearchBarLight) not found

Changing second line to :

 style="android:@style/MaterialSearchBarLight"

solve the issue

jiangying000 avatar Sep 27 '17 01:09 jiangying000

you are the best....you solved my problem..thanx

pejmanghorbani avatar Apr 04 '20 01:04 pejmanghorbani