Toolbar+NavigationDrawer
에 테마를 사용하고 있습니다 .AppCompat. 여기 Theme.AppCompat를 사용할 때 DrawerArrow 색상을 변경하는 방법
style.xml:
<style name="BlueTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="drawerArrowStyle">@style/BlueTheme.DrawerArrowStyle</item>
<item name="colorPrimary">@color/primary</item>
<item name="colorAccent">@color/accent</item>
<item name="colorPrimaryDark">@color/primaryDark</item>
</style>
<style name="BlueTheme.DrawerArrowStyle" parent="Widget.AppCompat.DrawerArrowToggle">
<item name="color">@android:color/white</item>
</style>
하지만 마찬가지로 drawer arrow still has a alpha and is not solid white.
:
(내가 이미지를 게시 할 수있는 충분한 명성을하지 않은 죄송합니다)
drawerArrowStyle
속성이 작동하지 않는 것 같습니다. 몇 가지 실수를했는지 궁금합니다. 내가 change the DrawerToggler to solid white?
에 할 수있는 일 :
이
이것이 핵심 요소였습니다. android : 테마는 L에서 작동하는 것처럼 보였지만 JellyBean의 경우 app : 테마로 전환해야했습니다. –