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 protected void onLayout(boolean, int, int, int, int); 19 method public void setAlignmentMode(int); 20 method public void setColumnCount(int); 21 method public void setColumnOrderPreserved(boolean); 22 method public void setOrientation(int); 23 method public void setPrinter(android.util.Printer); 24 method public void setRowCount(int); 25 method public void setRowOrderPreserved(boolean); 26 method public void setUseDefaultMargins(boolean); 27 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, android.support.v7.widget.GridLayout.Alignment, float); 28 method public static android.support.v7.widget.GridLayout.Spec spec(int, android.support.v7.widget.GridLayout.Alignment, float); 29 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, float); 30 method public static android.support.v7.widget.GridLayout.Spec spec(int, float); 31 method public static android.support.v7.widget.GridLayout.Spec spec(int, int, android.support.v7.widget.GridLayout.Alignment); 32 method public static android.support.v7.widget.GridLayout.Spec spec(int, android.support.v7.widget.GridLayout.Alignment); 33 method public static android.support.v7.widget.GridLayout.Spec spec(int, int); 34 method public static android.support.v7.widget.GridLayout.Spec spec(int); 35 field public static final int ALIGN_BOUNDS = 0; // 0x0 36 field public static final int ALIGN_MARGINS = 1; // 0x1 37 field public static final android.support.v7.widget.GridLayout.Alignment BASELINE; 38 field public static final android.support.v7.widget.GridLayout.Alignment BOTTOM; 39 field public static final android.support.v7.widget.GridLayout.Alignment CENTER; 40 field public static final android.support.v7.widget.GridLayout.Alignment END; 41 field public static final android.support.v7.widget.GridLayout.Alignment FILL; 42 field public static final int HORIZONTAL = 0; // 0x0 43 field public static final android.support.v7.widget.GridLayout.Alignment LEFT; 44 field public static final android.support.v7.widget.GridLayout.Alignment RIGHT; 45 field public static final android.support.v7.widget.GridLayout.Alignment START; 46 field public static final android.support.v7.widget.GridLayout.Alignment TOP; 47 field public static final int UNDEFINED = -2147483648; // 0x80000000 48 field public static final int VERTICAL = 1; // 0x1 49 } 50 51 public static abstract class GridLayout.Alignment { 52 } 53 54 public static class GridLayout.LayoutParams extends android.view.ViewGroup.MarginLayoutParams { 55 ctor public GridLayout.LayoutParams(android.support.v7.widget.GridLayout.Spec, android.support.v7.widget.GridLayout.Spec); 56 ctor public GridLayout.LayoutParams(); 57 ctor public GridLayout.LayoutParams(android.view.ViewGroup.LayoutParams); 58 ctor public GridLayout.LayoutParams(android.view.ViewGroup.MarginLayoutParams); 59 ctor public GridLayout.LayoutParams(android.support.v7.widget.GridLayout.LayoutParams); 60 ctor public GridLayout.LayoutParams(android.content.Context, android.util.AttributeSet); 61 method public void setGravity(int); 62 field public android.support.v7.widget.GridLayout.Spec columnSpec; 63 field public android.support.v7.widget.GridLayout.Spec rowSpec; 64 } 65 66 public static class GridLayout.Spec { 67 method public android.support.v7.widget.GridLayout.Alignment getAbsoluteAlignment(boolean); 68 } 69 70 } 71 72