Revision 16b22aab
Added by Leszek Koltunski about 5 years ago
src/main/java/org/distorted/examples/effects3d/Effects3DActivity.java | ||
---|---|---|
198 | 198 |
{ |
199 | 199 |
tr = (TableRow)mLay.getChildAt(row); |
200 | 200 |
|
201 |
for(int col=0; col<mNumCols; col++)
|
|
201 |
if( tr!=null )
|
|
202 | 202 |
{ |
203 |
butt = (Button)tr.getVirtualChildAt(col); |
|
204 |
butt.setBackgroundColor(mObjectType==0 ? COLOR_ON : COLOR_INAC); |
|
205 |
mShape[row*mNumCols+col] = true; |
|
203 |
for(int col=0; col<mNumCols; col++) |
|
204 |
{ |
|
205 |
butt = (Button)tr.getVirtualChildAt(col); |
|
206 |
butt.setBackgroundColor(mObjectType==0 ? COLOR_ON : COLOR_INAC); |
|
207 |
mShape[row*mNumCols+col] = true; |
|
208 |
} |
|
206 | 209 |
} |
207 | 210 |
} |
208 | 211 |
} |
Also available in: Unified diff
Fix several more apps for the 'center-of-matrix-effects-in-screen-center' change.