Skip to content

Instantly share code, notes, and snippets.

@drakestone
Created September 21, 2013 08:29
Show Gist options
  • Save drakestone/6648577 to your computer and use it in GitHub Desktop.
Save drakestone/6648577 to your computer and use it in GitHub Desktop.
package com.example.gee;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.TextView;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
TextView lblCompany = (TextView)findViewById(R.id.lblCompany);
lblCompany.setText(Config.Company);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment