Revision 6f3024ae
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/examples/wind/WindActivity.java | ||
---|---|---|
50 | 50 |
|
51 | 51 |
bar.setProgress(50); |
52 | 52 |
|
53 |
windText.setText("Wind: 50");
|
|
53 |
windText.setText(getString(R.string.wind_placeholder,50));
|
|
54 | 54 |
} |
55 | 55 |
|
56 | 56 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
90 | 90 |
{ |
91 | 91 |
case R.id.windSeek:WindSurfaceView view = (WindSurfaceView) this.findViewById(R.id.windSurfaceView); |
92 | 92 |
view.getRenderer().setWind(progress); |
93 |
windText.setText("Wind: "+progress);
|
|
93 |
windText.setText(getString(R.string.wind_placeholder,progress));
|
|
94 | 94 |
break; |
95 | 95 |
} |
96 | 96 |
} |
Also available in: Unified diff
Fix a lot of Lint warnings in the apps.