Project

General

Profile

« Previous | Next » 

Revision 01e57154

Added by Leszek Koltunski over 2 years ago

A few code improvements.

View differences:

src/main/java/org/distorted/config/ConfigScreen.java
118 118
          }
119 119
        });
120 120

  
121
      GridLayout.LayoutParams params = new GridLayout.LayoutParams(rowSpecs[row],colSpecs[nextInRow[row]]);
121
      GridLayout.Spec rowS = rowSpecs[row];
122
      GridLayout.Spec colS = colSpecs[nextInRow[row]];
123
      GridLayout.LayoutParams params = new GridLayout.LayoutParams(rowS,colS);
122 124
      params.bottomMargin = margin;
123 125
      params.topMargin    = margin;
124 126
      params.leftMargin   = margin;

Also available in: Unified diff