Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made output selectable #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions gen/sk/kottman/androlua/R.java
Original file line number Diff line number Diff line change
@@ -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;
}
}
3 changes: 2 additions & 1 deletion src/sk/kottman/androlua/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -272,4 +273,4 @@ public boolean onLongClick(View view) {
source.setText("");
return true;
}
}
}