导航抽屉图标用特定颜色填充图标的透明部分

时间:2018-10-29 08:39:34

标签: android navigation-drawer

当前我的导航抽屉中有这种图标

enter image description here

我想做的是在图标的透明部分放置颜色。

这是我的导航抽屉的当前外观:

enter image description here

颜色在图像的透明部分之外,这是错误的。

这是我当前的代码:

<android.support.design.widget.NavigationView
        android:id="@+id/nav_view"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:fitsSystemWindows="false"
    app:headerLayout="@layout/main_activity_navigationdrawer_layout"
       app:itemIconTint="@color/aub_red"
        app:menu="@menu/activity_main_activity_menu" />

0 个答案:

没有答案
相关问题