AndroidResideMenu icon indicating copy to clipboard operation
AndroidResideMenu copied to clipboard

Add a custom view to layout

Open srshkmr opened this issue 8 years ago • 1 comments

I need to add a custom view to the menu layout .

Any ideas ?

http://stackoverflow.com/questions/38916803/androidresidemenu-custom-layout

srshkmr avatar Aug 12 '16 12:08 srshkmr

public class CustomResideMenuItem_logo extends ResideMenuItem {
    public CustomResideMenuItem_logo(Context context) {
        super(context);
        removeAllViews();
        LayoutInflater.from(getContext()).inflate(R.layout.item_residemenu_image, this);
    }
}

MohammadGhodsian avatar Jul 21 '18 11:07 MohammadGhodsian