CollapsingToolbarLayout crash on 4.4 devices (java.lang.IllegalArgumentException: radius must be > 0)

后端 未结 5 1476
醉梦人生
醉梦人生 2021-02-05 14:54

I have implemented the new style Collapsible Toolbar. I am using the same code as the example (Cheesesquare) demo app - which of course works fine on all devices. I need help

5条回答
  •  醉话见心
    2021-02-05 15:35

    I have adater with the item main container as cardview and i had the cardCornerRadius set to 0 :

    app:cardCornerRadius="0dp"
    

    I changed it to :

    app:cardCornerRadius="1dp"
    

    It worked perfectly now.

    I also tested with and without android:fitsSystemWindows="true" , it did NOT change anything for me.

提交回复
热议问题