

and activate the selection The OPTIONS button is used to perform a special action with the. The MainActivity.java which inflates the custom actionbar layout and set it mActionBar. Some Philips TV models do not have an quot Input quot button. Now, here is the custom actionbar layout The style activity layout, activity_main.xml, it's pretty much empty, just a dummy layout for the Main activity class, the custom action bar view is in another layout file. How to remove the margin between the app icon and the edge of the screen on the ActionBar? How to remove default layout's padding/margin Padding/margin on the left side of my activity/actionbar - dont know where it comes from, cannot remove it I believe a lot of people had this issue and these are the answers I've tried but still leaving a padding/margin on the left shown above.Īndroid: remove left margin from actionbar's custom layoutĪndroid Lollipop, AppCompat ActionBar custom view doesn't take up whole screen width This solution works on Samsung phones, but not on any tablets I've tested, such as Nexus 7, Nexus 9, Dell Venus 8, etc. This does remove some of the padding on the left, but I still see a padding, it's just smaller than before I set the contentInsetStart and contentInsetLeft to 0dp. Basically all the answers says to set the contentInsetStart and contentInsetLeft to 0dp. A solution to this would be much appreciated! I've tried these answers from SO, it did moved some of the padding, but not all of them. I've been pulling my hairs against this left padding/margin just don't go away issue, about to become bald.
