summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common/os
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-05-04 05:18:51 +0200
committerSven Gothel <[email protected]>2012-05-04 05:18:51 +0200
commit7426e2613eaee1d97c074cb1f43863bb2615e7fa (patch)
tree8837a927d04e77cba16d577e3f9928e2fb651ad5 /src/java/jogamp/common/os
parenta058e0a2f465a9bff3e32727edb55592f55c7b38 (diff)
GlueGenVersionActivity: Add Scroller ..
Diffstat (limited to 'src/java/jogamp/common/os')
-rw-r--r--src/java/jogamp/common/os/android/GluegenVersionActivity.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/java/jogamp/common/os/android/GluegenVersionActivity.java b/src/java/jogamp/common/os/android/GluegenVersionActivity.java
index 5923e66..581776b 100644
--- a/src/java/jogamp/common/os/android/GluegenVersionActivity.java
+++ b/src/java/jogamp/common/os/android/GluegenVersionActivity.java
@@ -34,6 +34,7 @@ import com.jogamp.common.util.VersionUtil;
import android.app.Activity;
import android.os.Bundle;
+import android.widget.ScrollView;
import android.widget.TextView;
import android.util.Log;
@@ -46,8 +47,11 @@ public class GluegenVersionActivity extends Activity {
super.onCreate(savedInstanceState);
StaticContext.init(this.getApplicationContext());
tv = new TextView(this);
+ final ScrollView scroller = new ScrollView(this);
+ scroller.addView(tv);
+ setContentView(scroller);
+
tv.setText(VersionUtil.getPlatformInfo()+Platform.NEWLINE+GlueGenVersion.getInstance()+Platform.NEWLINE+Platform.NEWLINE);
- setContentView(tv);
Log.d(MD.TAG, "onCreate - X");
}