<-! Baidu Button BEGIN -> more Share to: <-! Baidu Button END ->
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) -> Reply: myTxt is null Reply: That amount is how to write, where I did not write Yeah Reply:
Either do not fragment, or the processing into Fragment in myTxt Reply:
- How to get solve novice Reply: Great God soon appear online Yeah. . . Reply:
That amount is how to write, where I did not write Yeah
Either do not fragment, or will myTxt processing into Fragment Lane
On the inside or have been deleted or not try! ! ! ! Reply: Your R.id.container in there? ? ? Code did not paste the full right? Reply:
your R.id.container in there? ? ? Code did not paste the full right?
@ 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; }
@ Override public boolean onOptionsItemSelected (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); }
/ ** * A placeholder fragment containing a simple view. * / public static class PlaceholderFragment extends Fragment {
No comments:
Post a Comment