How to Set/Change the Width of a Button
added in API Level 11. Create a new Android project, if you don't already have one.
2. Add a button.
3. Open the main.xml file and add the below highlighted line to set the height to 130 pixels.
<Button
......
android:width="130px"
/>
4. Compile and run!
Related Articles