Example usage for android.widget FrameLayout setClipChildren

List of usage examples for android.widget FrameLayout setClipChildren

Introduction

In this page you can find the example usage for android.widget FrameLayout setClipChildren.

Prototype

public void setClipChildren(boolean clipChildren) 

Source Link

Document

By default, children are clipped to their bounds before drawing.

Usage

From source file:me.zchang.onchart.ui.LessonListFragment.java

@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
    super.onViewCreated(view, savedInstanceState);
    FrameLayout frameLayout = (FrameLayout) getView();
    frameLayout.setClipChildren(false);
    frameLayout.setClipToPadding(false);
}