Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

android xml change button background

use:

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

instead of:
<Button
android:background:"@drawable/background"
/>
Comment

PREVIOUS NEXT
Code Example
Java :: classcastexception in java 
Java :: java.lang.string cannot be cast to java.lang.double react native 
Java :: how to output sum of even numbers in java between two user values 
Java :: bean factory vs application context 
Java :: java write in a file without overwriting 
Java :: Count Occurrences in Seven Integers Using Java Single Dimension Arrays 
Java :: java throw keyword 
Java :: brew use java 11 
Java :: spring db properties 
Java :: random int in range java 
Java :: printing multiple variables in java 
Java :: is palindrome java 
Java :: display in java 
Java :: calling activity method from fragment: 
Java :: java basic syntax 
Java :: sort comparator in java 
Java :: java random double between 0 and 1 
Java :: jsonArray to list in java 
Java :: java map string to list 
Java :: how to remove all characters before a certain character from a string in java 
Java :: greater than sign in java 
Java :: what is inflater in android 
Java :: hash table implementation java 
Java :: how to use a combo box in java with if else 
Java :: import java.lang.Math.*; 
Java :: get arguments in fragment kotlin 
Java :: BottomNavigationView only icon 
Java :: To enable CORS in the MVC Java config 
Java :: iterate list in java 
Java :: java localdate subtract two dates 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =