Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

button height is not increase in android studio

*** In layout_height is not work in Button in Android Studio.
*** You can use:	
	PaddingTop and PaddingBottom in Button that give you the button height increase.
________________________________
 <Button
        android:text="Button"
        android:paddingTop="40dp"
        android:paddingBottom="40dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>
 
PREVIOUS NEXT
Tagged: #button #height #increase #android #studio
ADD COMMENT
Topic
Name
9+6 =