Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android xml change button background

use:

<androidx.appcompat.widget.AppCompatButton
android:background:"@drawable/background"
/>

instead of:
<Button
android:background:"@drawable/background"
/>
 
PREVIOUS NEXT
Tagged: #android #xml #change #button #background
ADD COMMENT
Topic
Name
1+1 =