From 77c4117da5fc95f9e7a0a705f334e679c076aa29 Mon Sep 17 00:00:00 2001 From: Xavi Artigas Date: Tue, 4 Sep 2012 16:07:11 +0200 Subject: [PATCH] Allow the textview to scroll --- .../src/com/gst_sdk_tutorials/tutorial_1/Tutorial1.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-sdk/tutorials/android-tutorial-1/src/com/gst_sdk_tutorials/tutorial_1/Tutorial1.java b/gst-sdk/tutorials/android-tutorial-1/src/com/gst_sdk_tutorials/tutorial_1/Tutorial1.java index 97e3a21144..8dedd22d0d 100755 --- a/gst-sdk/tutorials/android-tutorial-1/src/com/gst_sdk_tutorials/tutorial_1/Tutorial1.java +++ b/gst-sdk/tutorials/android-tutorial-1/src/com/gst_sdk_tutorials/tutorial_1/Tutorial1.java @@ -18,6 +18,7 @@ package com.gst_sdk_tutorials.tutorial_1; import android.app.Activity; import android.widget.TextView; import android.os.Bundle; +import android.text.method.ScrollingMovementMethod; public class Tutorial1 extends Activity { @@ -34,6 +35,7 @@ public class Tutorial1 extends Activity * function. */ TextView tv = new TextView(this); + tv.setMovementMethod(new ScrollingMovementMethod()); tv.setText( gstVersion() ); setContentView(tv); }