Created
January 31, 2012 03:25
-
-
Save nitindhar7/1708554 to your computer and use it in GitHub Desktop.
A dummy activity to generate content for tab layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TabContentActivity extends Activity { | |
@Override | |
public void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
TextView textview = new TextView(this); | |
// Get data passed in from the tab for display | |
textview.setText(getIntent().getStringExtra("content")); | |
setContentView(textview); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment