Question: ` 

Hi,

I have requirement of using my own background and blue light for toggle button.

However, using this i am not able to custom position light of toggle button which is always placed to the bottom of button.

I want to move it above and just below center of button.

I tried with paddingBottom but that did not help. Any help regarding this appreciated.

-Thanks,
Manju

Answer: 
That light is part of the nine-patch png. If you create new backgrounds, you need to add your own "on" and "off" circles to the file. You then use the border lines of the nine-patch to prevent stretching of the circle.

<http://developer.android.com/guide/developing/tools/draw9patch.html>

Read also my answer here for another explanation: [How to create android spinner without down triangle on the right side of the widget](https://stackoverflow.com/questions/4058360/how-to-create-android-spinner-without-down-triangle-on-the-right-side-of-the-widg/5928041#5928041)
Use a relativeLayout and do android:layout\_Below, if I understand your question correctly