Add missing @Override annotation and whitespace fixes

This commit is contained in:
cketti 2012-12-17 12:36:42 +01:00
parent f793831498
commit 5f638a02e2

View file

@ -12,18 +12,19 @@ import com.fsck.k9.activity.K9Activity;
public class WelcomeMessage extends K9Activity implements OnClickListener{
public static void showWelcomeMessage(Context context) {
public static void showWelcomeMessage(Context context) {
Intent intent = new Intent(context, WelcomeMessage.class);
context.startActivity(intent);
}
}
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.welcome_message);
((Button) findViewById(R.id.next)).setOnClickListener(this);
}
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.welcome_message);
((Button) findViewById(R.id.next)).setOnClickListener(this);
}
@Override
public void onClick(View view) {
if (view.getId() == R.id.next) {
AccountSetupBasics.actionNewAccount(this);