Revision 00af5060
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/dialogs/RubikDialogScoresView.java | ||
---|---|---|
76 | 76 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
77 | 77 |
|
78 | 78 |
@SuppressLint("DefaultLocale") |
79 |
LinearLayout createSection(FragmentActivity act, int tab, int level, final String[] country, final String[] name, final float[] time) |
|
79 |
LinearLayout createSection(FragmentActivity act, int tab, String title, int level, final String[] country, final String[] name, final float[] time)
|
|
80 | 80 |
{ |
81 | 81 |
LinearLayout levelLayout = (LinearLayout)inflate(act, R.layout.dialog_scores_scramble_title, null); |
82 | 82 |
TextView text = levelLayout.findViewById(R.id.scoresScrambleTitle); |
83 |
text.setText(act.getString(R.string.lv_placeholder,level+1));
|
|
83 |
text.setText(title);
|
|
84 | 84 |
|
85 | 85 |
int size = (int)(mHeight*RubikActivity.SCORES_LEVEL_TEXT); |
86 | 86 |
text.setTextSize(TypedValue.COMPLEX_UNIT_PX, size); |
Also available in: Unified diff
Always use only (max) 10 levels - (max) 9 'initial' Levels + Full Scramble.