Android Question b4xdrawer sliding drawer And ColorDrawable

Hi
I Use This b4xdrawer sliding drawer
Worked! But When I Use this Cod:
B4X:
    Dim btnThemeWhiteClicked As ColorDrawable
    Dim sldWhite As StateListDrawable
    sldWhite.Initialize
    btnThemeWhiteClicked.Initialize2(Colors.ARGB(85,255,204,76),5000dip,8dip,Colors.RGB(255,247,245))
    sldWhite.AddState (sldWhite.State_Pressed ,btnThemeWhiteClicked)
    Btn_MenuRight.Background = sldWhite
Not Work! Why?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…