Example usage for android.widget FrameLayout setClipToPadding

List of usage examples for android.widget FrameLayout setClipToPadding

Introduction

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

Prototype

public void setClipToPadding(boolean clipToPadding) 

Source Link

Document

Sets whether this ViewGroup will clip its children to its padding and resize (but not clip) any EdgeEffect to the padded region, if padding is present.

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);//from ww w .ja  v  a2s  . c  o  m
    frameLayout.setClipToPadding(false);
}