Project

General

Profile

« Previous | Next » 

Revision bf0d1908

Added by Leszek Koltunski almost 8 years ago

Correction for the 'Girl' app.

View differences:

src/main/java/org/distorted/examples/girl/GirlActivity.java
60 60
      barSize.setProgress(50);
61 61
      barHips.setProgress(0);
62 62

  
63
      textSwing.setText(getString(R.string.swing_placeholder,0.0f));
63
      textSwing.setText(getString(R.string.swing_placeholder,0));
64 64
      textSize.setText(getString(R.string.size_placeholder,1.0f));
65
      textHips.setText(getString(R.string.hips_placeholder,0.0f));
65
      textHips.setText(getString(R.string.hips_placeholder,0));
66 66
      }
67 67

  
68 68
///////////////////////////////////////////////////////////////////////////////////////////////////
src/main/res/values/strings.xml
64 64
    <string name="amplitude_placeholder">Amplitude %1$d</string>
65 65
    <string name="alpha_placeholder">Alpha %1$d</string>
66 66
    <string name="beta_placeholder">Beta %1$d</string>
67
    <string name="swing_placeholder">Swing %1$f</string>
68
    <string name="size_placeholder">Size %1$f</string>
69
    <string name="hips_placeholder">Hips %1$f</string>
67
    <string name="swing_placeholder">Swing %1$d</string>
68
    <string name="size_placeholder">Size %1$.1f</string>
69
    <string name="hips_placeholder">Hips %1$d</string>
70 70
    <string name="fov_placeholder">FOV: %1$d</string>
71 71
    <string name="x_placeholder">X: %1$d</string>
72 72
    <string name="y_placeholder">Y: %1$d</string>

Also available in: Unified diff