1 /***
2 * Ambient - A music player for the Android platform
3 Copyright (C) 2007 Martin Vysny
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 package sk.baka.ambient.activity;
20
21 import sk.baka.ambient.R;
22 import android.app.Activity;
23 import android.os.Bundle;
24 import android.view.View;
25
26 /***
27 * Shows the About dialog.
28 *
29 * @author Martin Vysny
30 */
31 public final class WelcomeActivity extends Activity {
32 @Override
33 protected void onCreate(Bundle icicle) {
34 super.onCreate(icicle);
35 setContentView(R.layout.welcome);
36 findViewById(R.id.welcomeContinue).setOnClickListener(new View.OnClickListener(){
37 public void onClick(View v) {
38 finish();
39 }
40 });
41 }
42 }