Example usage for android.widget AbsListView.LayoutParams AbsListView.LayoutParams

List of usage examples for android.widget AbsListView.LayoutParams AbsListView.LayoutParams

Introduction

In this page you can find the example usage for android.widget AbsListView.LayoutParams AbsListView.LayoutParams.

Prototype

public LayoutParams(int w, int h, int viewType) 

Source Link

Usage

From source file:com.appunite.list.AbsListView.java

@Override
protected ViewGroup.LayoutParams generateDefaultLayoutParams() {
    return new AbsListView.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,
            ViewGroup.LayoutParams.WRAP_CONTENT, 0);
}