I need help with a custom button in Android. I want to make a button which exists of three components: a left border, a right border and the center.
If the button is stretched horizontally, the right and left borders must stay intact, and the center must be stretched.
I tried to make it using the Android GUI editor in Eclipse, but it didn't succeed. Now is there a way to achieve this? If yes, how? Do I need to use an ImageButton
or a Button
?