Revision 0a9adc31
Added by Leszek Koltunski about 2 months ago
src/main/java/org/distorted/dialogs/RubikDialogScoresView.java | ||
---|---|---|
20 | 20 |
import android.widget.LinearLayout; |
21 | 21 |
import android.widget.TextView; |
22 | 22 |
|
23 |
import org.distorted.main.MainActivity; |
|
23 | 24 |
import org.distorted.main.R; |
24 | 25 |
import org.distorted.external.RubikScores; |
25 | 26 |
|
... | ... | |
90 | 91 |
String theirTime; |
91 | 92 |
int theirCountryID; |
92 | 93 |
|
94 |
MainActivity mact = (MainActivity) act; |
|
95 |
int selected = mact.getSelectedColor(); |
|
93 | 96 |
int height = (int)(mHeight*SCORES_ITEM_TEXT); |
94 | 97 |
int white = res.getColor(R.color.white); |
95 |
int red = res.getColor(R.color.red);
|
|
98 |
int red = res.getColor(selected);
|
|
96 | 99 |
boolean equals; |
97 | 100 |
|
98 | 101 |
for(int j=0; j<MAX_PLACES-1; j++) |
Also available in: Unified diff
Themes almost finished.