package com.example.kiosk.toast;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.Toast;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toast.makeText(getApplicationContext(), "Hello Android!", Toast.LENGTH_LONG).show();
}
What is the android.widget.Toast equivalent for iOS applications?
No comments:
Post a Comment