Blog Archives

Android ActionBar Background Image

To set the background image of the relative new Actionbar in Android you can do the following: final ActionBar actionBar = getActionBar(); BitmapDrawable background = new BitmapDrawable(BitmapFactory.decodeResource(getResources(), R.raw.actionbar_background)); actionBar.setBackgroundDrawable(background); Note that the BitmapDrawable() is deprecated. So might might want to use

Posted in Android, Tips and Tricks Tagged with: , ,

Linux Desktop Backgrounds

Problem: Only one desktop background available. Run this command in the terminal: sudo apt-get install kdebase-workspace-wallpapers kdewallpapers Now a whole lot of images will be installed and availabe in “desktop activity settings” on desktop.

Posted in ErrorFix, Linux Tagged with: , ,