1 package ro
.ieval
.fonbot
;
3 import static ro
.ieval
.fonbot
.R
.string
.*;
5 import org
.eclipse
.jdt
.annotation
.Nullable
;
7 import android
.app
.Activity
;
8 import android
.os
.Bundle
;
9 import android
.text
.method
.LinkMovementMethod
;
10 import android
.widget
.TextView
;
13 * Copyright © 2013 Marius Gavrilescu
15 * This file is part of FonBot.
17 * FonBot is free software: you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License as published by
19 * the Free Software Foundation, either version 3 of the License, or
20 * (at your option) any later version.
22 * FonBot is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU General Public License for more details.
27 * You should have received a copy of the GNU General Public License
28 * along with FonBot. If not, see <http://www.gnu.org/licenses/>.
32 * An activity that shows FonBot help.
34 * @author Marius Gavrilescu <marius@ieval.ro>
36 public final class FonBotHelpActivity
extends Activity
{
38 protected void onCreate(final @Nullable Bundle savedInstanceState
) {
39 super.onCreate(savedInstanceState
);
40 final TextView textView
=new TextView(this);
41 textView
.setText(help
);
42 textView
.setMovementMethod(LinkMovementMethod
.getInstance());
43 setTitle(help_activity_label
);
44 setContentView(textView
);