mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
Allow the textview to scroll
This commit is contained in:
parent
2905b5073a
commit
77c4117da5
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue