1 package android.support.v7.widget { 2 3 public class GridLayout extends android.view.ViewGroup { 4 ctor public GridLayout(android.content.Context, android.util.AttributeSet, int); 5 ctor public GridLayout(android.content.Context, android.util.AttributeSet); 6 ctor public GridLayout(android.content.Context); 7 method protected android.support.v7.widget.GridLayout.LayoutParams generateDefaultLayoutParams(); 8 method public android.support.v7.widget.GridLayout.LayoutParams generateLayoutParams(android.util.AttributeSet); 9 method protected android.support.v7.widget.GridLayout.LayoutParams generateLayoutParams(android.view.ViewGroup.LayoutParams); 10 method public int getAlignmentMode(); 11 method public int getColumnCount(); 12 method public int getOrientation(); 13 method public android.util.Printer getPrinter(); 14 method public int getRowCount(); 15 method public boolean getUseDefaultMargins(); 16 method public boolean isColumnOrderPreserved(); 17 method public boolean isRowOrderPreserved(); 18 method public void setAlignmentMode(int); 19 method public void setColumnCount(int); 20 method public void setColumnOrderPreserved(boolean); 21 method public void setOrientation(int); 22 method public void setPrinter(android.util.Printer); 23 method public void setRowCount(int); 24 method public void setRowOrderPreserved(boolean); 25 method public void setUseDefaultMargins(boolean); 26 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, android.support.v7.widget.GridLayout.Alignment, float); 27 method public static android.support.v7.widget.GridLayout.Spec spec(int, android.support.v7.widget.GridLayout.Alignment, float); 28 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, float); 29 method public static android.support.v7.widget.GridLayout.Spec spec(int, float); 30 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, android.support.v7.widget.GridLayout.Alignment); 31 method public static android.support.v7.widget.GridLayout.Spec spec(int, android.support.v7.widget.GridLayout.Alignment); 32 method public static android.support.v7.widget.GridLayout.Spec spec(int, int); 33 method public static android.support.v7.widget.GridLayout.Spec spec(int); 34 field public static final int ALIGN_BOUNDS = 0; // 0x0 35 field public static final int ALIGN_MARGINS = 1; // 0x1 36 field public static final android.support.v7.widget.GridLayout.Alignment BASELINE; 37 field public static final android.support.v7.widget.GridLayout.Alignment BOTTOM; 38 field public static final android.support.v7.widget.GridLayout.Alignment CENTER; 39 field public static final android.support.v7.widget.GridLayout.Alignment END; 40 field public static final android.support.v7.widget.GridLayout.Alignment FILL; 41 field public static final int HORIZONTAL = 0; // 0x0 42 field public static final android.support.v7.widget.GridLayout.Alignment LEFT; 43 field public static final android.support.v7.widget.GridLayout.Alignment RIGHT; 44 field public static final android.support.v7.widget.GridLayout.Alignment START; 45 field public static final android.support.v7.widget.GridLayout.Alignment TOP; 46 field public static final int UNDEFINED = -2147483648; // 0x80000000 47 field public static final int VERTICAL = 1; // 0x1 48 } 49 50 public static abstract class GridLayout.Alignment { 51 } 52 53 public static class GridLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 54 ctor public GridLayout.LayoutParams(android.support.v7.widget.GridLayout.Spec, android.support.v7.widget.GridLayout.Spec); 55 ctor public GridLayout.LayoutParams(); 56 ctor public GridLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 57 ctor public GridLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 58 ctor public GridLayout.LayoutParams(android.support.v7.widget.GridLayout.LayoutParams); 59 ctor public GridLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 60 method public void setGravity(int); 61 field public android.support.v7.widget.GridLayout.Spec columnSpec; 62 field public android.support.v7.widget.GridLayout.Spec rowSpec; 63 } 64 65 public static class GridLayout.Spec { 66 method public android.support.v7.widget.GridLayout.Alignment getAbsoluteAlignment(boolean); 67 } 68 69 } 70 71