Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

linear layout background color

//If you want to set through xml using android's default color codes, then you need to do as below:
android:background="@android:color/white"
  
//If you have colors specified in your project's colors.xml, then use:
android:background="@color/white"

//If you want to do programmatically, then do:
linearlayout.setBackgroundColor(Color.WHITE);
Comment

PREVIOUS NEXT
Code Example
Java :: set drawableleft programmatically android 
Java :: rates api 
Java :: get all number from string java 
Java :: nums.add to add the number to the array in java sample 
Java :: immagini java 
Java :: remove action bar android studio 
Java :: create file android java specific folder 
Java :: how to collect objective in java 
Java :: Date from String java3 
Java :: add text to jlable 
Java :: java stop program 
Java :: module-info.java module not found 
Java :: java real random 
Java :: java 11 initialize map 
Java :: primefaces datepicker validation 
Java :: how to extract decimal vqalue from float in android studio 
Java :: bat artifact 
Java :: how to pass enum in postman body 
Java :: last day of month from localdate java 
Java :: java jdk java_home home ubuntu openjdk-8-jdk 
Java :: java coding standards variables 
Java :: remove new line in string of java 
Java :: Copying Arrays Using copyOfRange() method Java 
Java :: sort string java 
Java :: create file from byte array java 
Java :: setint java 
Java :: how to print multiple lines in java 
Java :: android kotlin center text 
Java :: replace all punctuation in string java 
Java :: java or symbol 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =