728x90
I added a Fragment to my Android Studio project using
New > Fragment > Fragment (Blank).
As a result when I try to run, the project won't compile because it cannot resolve R.drawable.abc_ic_ab_back_mtrl_am_alpha in
toolbar.setNavigationIcon(R.drawable.abc_ic_ab_back_mtrl_am_alpha);
The name of the resource was changed in the 23.2.0 support library.
Modify abc_ic_ab_back_mtrl_am_alpha to abc_ic_ab_back_material
Edit: In 23.2.1 the name of the component was changed back to abc_ic_ab_back_mtrl_am_alpha
Edit: In 24.0.0 the name of the component was changed to: abc_ic_ab_back_material
728x90
'개발 > Adroid' 카테고리의 다른 글
안드로이드 개발에 도움 됬던 사이트들 (0) | 2019.08.30 |
---|---|
[android] 안드로이드 오픈소스 30+가지 어플 (2019년) (0) | 2019.08.30 |
[andorid] 'android.support.v7.app.ActionBarActivity' is deprecated (0) | 2019.08.28 |
[android] 다양한 화면 크기 지원 (0) | 2019.08.28 |
[Android] 안드로이드 오픈소스 사이트 총정리 (0) | 2019.08.27 |
댓글