1

How to remove space in front of custom view?

view story
linux-howto

http://stackoverflow.com – Please help me. Description : I am creating customized home icon. The codes for customization is as follow : View customView = getLayoutInflater().inflate(R.layout.action_bar_display_options_custom, null); customView.findViewById(R.id.action_home).setOnClickListener( new OnClickListener() { @Override public void onClick(View v) { toggle(); } }); actionBar.setCustomView(customView, new ActionBar.LayoutParams( LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT)); actionBar.setDisplayShowCustomEnabled(true); this's action_bar_display_o (HowTos)