getSupportActionBar().setCustomView(view) does not fill entire actionbar
问题 I'm trying to set the customview of my app and the layout i made does not fill the entire actionbar. I've tried so many style settings but none has worked for me. here's my code in activity View view = getLayoutInflater().inflate(R.layout.actionbar_customized_home, null); getSupportActionBar().setDisplayShowCustomEnabled(true); getSupportActionBar().setCustomView(view); here's the layout placed set as view <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android