Revision 0579fe3a
Added by Leszek Koltunski over 5 years ago
src/main/java/org/distorted/examples/inflate/InflateActivity.java | ||
---|---|---|
165 | 165 |
b.setOnClickListener(this); |
166 | 166 |
b.setId(rows*mNumCols+cols); |
167 | 167 |
b.setLayoutParams(p); |
168 |
b.setBackgroundColor(mObjectType==1 ? COLOR_INAC : COLOR_ON);
|
|
168 |
b.setBackgroundColor(mObjectType==0 ? COLOR_ON:COLOR_INAC);
|
|
169 | 169 |
tr.addView(b, p); |
170 | 170 |
mShape[rows*mNumCols+cols] = true; |
171 | 171 |
} |
Also available in: Unified diff
Some fixes for Sphere; still not completely ok though.