i have a design which demands a background like the image below for the number on the right hand side. Is there any we can achieve this in Android ?
Will i need to make a 9 patch image and set it as a background ?
I am using a viewpager to swipe amongst fragments in my app. I define the background in the XML, so
If I use a simple background color, my app works very smooth. If I use it with this background image, fps decreases and my app becomes only passable. It is not slow, just not so smooth, however on weaker devices it could work laggy.
So I have this image set as the background of a seekbar. On different screens, the image gets skewed so much that it is quite horrible. I tried doing a 9 patch, but obviously there are several regions I would like to scale so 9 patch wasnt the best option. What I would like to acheive is, have the background stretched and leave the numbers proportional.
I have successfully set a background image on an Action Bar. I use ActionBarSherlock and in Android 2.x everything is ok.
The problem is with Android 4.x. The background image change across activities. If I set the background to a solid colour, the looks is the same for all activities.