Relative Content

Tag Archive for javaandroidbuttonandroid-button

Android Studio Button not aligned with the rectangular box

When I dragged a button into the design mode, the button is not centered within the rectangle box as shown in the picture. As a result, when I added constraints to the bottom, left, and right, the button disappears, only leaving the rectangle box visible. Is there anyway to resolve it?