반응형
@Override
public void onActivityCreated(Bundle savedInstanceState) {
super.onActivityCreated(savedInstanceState);
getView().setBackgroundColor(Color.WHITE);
getView().setClickable(true);
}
0 | Well Setting up fragment background color is not a solution because fragment will be still in the activity stack which may consume memory. Solution would be remove all views from your framelayout before adding any new fragment.
|
반응형
'모바일개발(Mobile Dev) > 안드로이드개발(Android)' 카테고리의 다른 글
how to make a swiped multi tabed view in android (0) | 2017.04.14 |
---|---|
how to use listview with onItemClick Event (0) | 2016.11.13 |
how to copy a image from server to device (0) | 2016.11.06 |
when import org.apache.http.util.ByteArrayBuffer; (0) | 2016.11.06 |
multi number picker in android (0) | 2016.10.08 |