From 2368207e1c9b23eef4c8ab372df34c263fc5e2af Mon Sep 17 00:00:00 2001 From: kyle kersey Date: Sat, 3 May 2014 22:33:44 -0700 Subject: [PATCH] made output selectable --- gen/sk/kottman/androlua/R.java | 28 ++++++++++++++++++++++++++++ src/sk/kottman/androlua/Main.java | 3 ++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 gen/sk/kottman/androlua/R.java diff --git a/gen/sk/kottman/androlua/R.java b/gen/sk/kottman/androlua/R.java new file mode 100644 index 0000000..33fa311 --- /dev/null +++ b/gen/sk/kottman/androlua/R.java @@ -0,0 +1,28 @@ +/* AUTO-GENERATED FILE. DO NOT MODIFY. + * + * This class was automatically generated by the + * aapt tool from the resource data it found. It + * should not be modified by hand. + */ + +package sk.kottman.androlua; + +public final class R { + public static final class attr { + } + public static final class drawable { + public static final int icon=0x7f020000; + } + public static final class id { + public static final int executeBtn=0x7f050000; + public static final int source=0x7f050001; + public static final int statusText=0x7f050002; + } + public static final class layout { + public static final int main=0x7f030000; + } + public static final class string { + public static final int app_name=0x7f040001; + public static final int hello=0x7f040000; + } +} diff --git a/src/sk/kottman/androlua/Main.java b/src/sk/kottman/androlua/Main.java index f6de2b1..232e531 100644 --- a/src/sk/kottman/androlua/Main.java +++ b/src/sk/kottman/androlua/Main.java @@ -64,6 +64,7 @@ public void onCreate(Bundle savedInstanceState) { status = (TextView) findViewById(R.id.statusText); status.setMovementMethod(ScrollingMovementMethod.getInstance()); + status.setTextIsSelectable(true); handler = new Handler(); @@ -272,4 +273,4 @@ public boolean onLongClick(View view) { source.setText(""); return true; } -} \ No newline at end of file +}