commit 18174881502f6c823f7ba309131fde594695830c
Author: Leszek Koltunski <leszek@distoretedandroid.org>
Date:   Mon Apr 3 16:46:10 2017 +0100

    Improve Projection.

diff --git a/src/main/java/org/distorted/examples/projection/ProjectionActivity.java b/src/main/java/org/distorted/examples/projection/ProjectionActivity.java
index d39f505..f44c220 100644
--- a/src/main/java/org/distorted/examples/projection/ProjectionActivity.java
+++ b/src/main/java/org/distorted/examples/projection/ProjectionActivity.java
@@ -38,22 +38,30 @@ public class ProjectionActivity extends Activity implements OnSeekBarChangeListe
 ///////////////////////////////////////////////////////////////////////////////////////////////////
     
     @Override
-    protected void onCreate(Bundle icicle) 
+    protected void onCreate(Bundle savedState)
       {
-      super.onCreate(icicle);
+      super.onCreate(savedState);
       setContentView(R.layout.projectionlayout);
 
       textF = (TextView)findViewById(R.id.projectionTextFOV);
       textN = (TextView)findViewById(R.id.projectionTextNear);
 
-      SeekBar bar;
+      SeekBar bar1 = (SeekBar)findViewById(R.id.projectionSeekFOV);
+      SeekBar bar2 = (SeekBar)findViewById(R.id.projectionSeekNear);
 
-      bar = (SeekBar)findViewById(R.id.projectionSeekFOV);
-      bar.setOnSeekBarChangeListener(this);
-      bar.setProgress(50);
-      bar = (SeekBar)findViewById(R.id.projectionSeekNear);
-      bar.setOnSeekBarChangeListener(this);
-      bar.setProgress(50);
+      bar1.setOnSeekBarChangeListener(this);
+      bar2.setOnSeekBarChangeListener(this);
+
+      if(savedState==null )
+        {
+        bar1.setProgress(50);
+        bar2.setProgress(50);
+        }
+      else
+        {
+        textF.setText(getString(R.string.fov_placeholder ,0));
+        textN.setText(getString(R.string.near_placeholder,0.0f));
+        }
       }
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
