FileDocCategorySizeDatePackage
LinearLayoutGrid.javaAPI DocAndroid 5.1 API1951Thu Mar 12 22:22:12 GMT 2015android.widget.focus

LinearLayoutGrid

public class LinearLayoutGrid extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
public android.widget.ButtongetButtonAt(int column, int row)

        if (row < 0 || row > 2) {
            throw new IllegalArgumentException("row out of range");
        }
        if (column < 0 || column > 2) {
            throw new IllegalArgumentException("column out of range");
        }
        return (Button) getColumn(column).getChildAt(row);
    
private android.widget.LinearLayoutgetColumn(int column)

        switch (column) {
            case 0:
                return (LinearLayout) findViewById(R.id.column1);
            case 1:
                return (LinearLayout) findViewById(R.id.column2);
            case 2:
                return (LinearLayout) findViewById(R.id.column3);
            default:
                throw new IllegalArgumentException("column out of range");
        }
    
public android.view.ViewGroupgetRootView()

        return (ViewGroup) findViewById(R.id.layout);
    
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.linear_layout_grid);