List of usage examples for android.view ViewGroup getMinimumHeight
public int getMinimumHeight()
From source file:com.ruesga.rview.fragments.SnippetFragment.java
public void onContentLayoutChanged(ViewGroup parent) { ViewGroup.MarginLayoutParams lp = (ViewGroup.MarginLayoutParams) mBinding.editor.getLayoutParams(); lp.height = parent.getMinimumHeight() - lp.topMargin - lp.bottomMargin - mBinding.editor.getPaddingTop() - mBinding.editor.getPaddingBottom(); }