setCloseButtonIcon() method doesn't change default Close button

I try to change default icon for Close Button in Chrome custom tabs (CustomTabsIntent.Builder)

Simple code for testing:

  • Fling smoothly AppBarLayout with NestedScrollView using AppBarLayout.Behavior
  • Shadow Effect for a Text in Android?
  • Android Proguard, removing all Log statements and merging packages
  • onCreateOptionsMenu is being called too many times in ActionBar using tabs
  • onDraw() on View draws behind the layout
  • MultipartBuilder can't be resolved in okhttp:3.0.0-RC1
  • Bitmap closeIcon = BitmapFactory.decodeResource(getResources(), R.mipmap.ic_launcher);

    But nothing happens. Why? (Nexus 7, Marshmallow)

    Related posts:

    How to draw smooth / rounded path?
    how to set max Width for a Layout
    Why does Intent.createChooser() need a BroadcastReceiver and how to implement?
    When switch fragment with SwipeRefreshLayout during refreshing, fragment freezes but actually still ...
    How to change title text and buttons color WITHOUT changing action overflow menu text color in new T...
    AudioSource.VOICE_CALL not working in android 4.0 but working in android 2.3
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.