Can we set a background image to tabs like this?
You need to use code in userContent. css in the chrome folder to set a background to about:newtab and possibly to about:home. Best (easiest) is to place this image in the chrome folder. In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.
Step 1: On the new tab page of Edge, click on the gear/settings icon. This will open the Page layout flyout. Step 2: Click on the Custom option. Step 3: Finally, in the Background section, select the Off radio button to prevent Edge from displaying a picture as the new tab page background.
Following code worked for me:
tabHost.getTabWidget().setBackgroundResource(R.drawable.tabhost_bg);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With