FilterMenu icon indicating copy to clipboard operation
FilterMenu copied to clipboard

How to replace FilterMenu icon

Open yanchengdeng opened this issue 8 years ago • 4 comments

yanchengdeng avatar Mar 28 '16 05:03 yanchengdeng

ok, I have already replaced FilterMenu icon SUCCESSFULLY!THX

yanchengdeng avatar Mar 28 '16 08:03 yanchengdeng

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

Tindi avatar Jul 08 '16 09:07 Tindi

// 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 !

yanchengdeng avatar Jul 29 '16 02:07 yanchengdeng

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

AskMeCode avatar Mar 29 '18 08:03 AskMeCode