aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/org/connectbot/HelpActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org/connectbot/HelpActivity.java')
-rw-r--r--app/src/main/java/org/connectbot/HelpActivity.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/java/org/connectbot/HelpActivity.java b/app/src/main/java/org/connectbot/HelpActivity.java
index 5c4fa79..0abcf17 100644
--- a/app/src/main/java/org/connectbot/HelpActivity.java
+++ b/app/src/main/java/org/connectbot/HelpActivity.java
@@ -73,5 +73,18 @@ public class HelpActivity extends Activity {
// TODO Auto-generated catch block
Log.e(TAG, "couldn't get list of help assets", e);
}
+
+ Button button = new Button(this);
+ final String topic = getResources().getString(R.string.terms_and_conditions);
+ button.setText(topic);
+
+ button.setOnClickListener(new OnClickListener() {
+ public void onClick(View v) {
+ Intent intent = new Intent(HelpActivity.this, EulaActivity.class);
+ HelpActivity.this.startActivity(intent);
+ }
+ });
+
+ content.addView(button);
}
}