Created
April 3, 2012 22:50
-
-
Save cyberoctopi/2296083 to your computer and use it in GitHub Desktop.
android fragment
This file contains hidden or 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
| package com.gumtrail; | |
| import android.R; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.widget.TextView; | |
| import android.app.Fragment; | |
| public class SidePanelFragment extends Fragment { | |
| //private View menuView; | |
| @Override | |
| public void onCreate(Bundle state) { | |
| super.onCreate(state); | |
| TextView test = new TextView(this); | |
| test.setText("Okie"); | |
| setContentView(test); | |
| } | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment