FileDocCategorySizeDatePackage
MyActivity.javaAPI DocAndroid 5.1 API1047Thu Mar 12 22:22:44 GMT 2015com.android.layoutlib.test.myapplication

MyActivity

public class MyActivity extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity);
    
public booleanonCreateOptionsMenu(android.view.Menu menu)

        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.my, menu);
        return true;
    
public booleanonOptionsItemSelected(android.view.MenuItem item)

        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();
        if (id == R.id.action_settings) {
            return true;
        }
        return super.onOptionsItemSelected(item);