Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

setBackgrounfTint color to relative layout from java file

LinearLayout someLayout=(LinearLayout)view.findViewById(R.id.someLayout);
        someLayout.getBackground().setColorFilter(Color.parseColor("#ff8800"), PorterDuff.Mode.SRC_ATOP);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #setBackgrounfTint #color #relative #layout #java #file
ADD COMMENT
Topic
Name
7+5 =