Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove foreground view from FrameLayout

I'm using the following command to draw a border on a frameLayout:

frameLayout.setForeground(getResources().getDrawable(R.drawable.blue_border));

Now I want to remove this foreground drawable.. How can I do this?

like image 578
MisaMisa Avatar asked Dec 09 '14 09:12

MisaMisa


1 Answers

Pass null as parameter should be enough:

frameLayout.setForeground(null);
like image 170
Blackbelt Avatar answered Nov 08 '22 11:11

Blackbelt