linroid/FilterMenu

How to replace FilterMenu icon

Opened this issue · 4 comments

How to replace FilterMenu icon

ok, I have already replaced FilterMenu icon SUCCESSFULLY!THX

Tindi commented

@yanchengdeng how did you manage to replace the icon? I would really appreciate the tip.

// drawable = new FilterMenuDrawable(ctx, Color.WHITE, collapsedRadius); // drawable = ctx.getDrawable(R.drawable.ic_cancel); drawable = ctx.getResources().getDrawable(R.mipmap.icon_home);

FilterMenuLayout.class you can find some codes in line 309 like above ! Than replace the icon you want ! Sorry my English is not good,hope can help you !

Hello Please how wi can add icon with Drawable or Bitmap not by id?