Ejemplo n.º 1
0
  @Override
  protected void onStart() {
    super.onStart();
    taskAnswer = (EditText) findViewById(R.id.taskAnswerEditText);
    taskDesc = (TextView) findViewById(R.id.taskDescriptionTextView);
    taskName = (TextView) findViewById(R.id.taskNameTextView);

    taskName.setText(GlobalVariables.getTask().getName());
    taskDesc.setText(GlobalVariables.getTask().getDescription());
  }
Ejemplo n.º 2
0
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_task);

    if (savedInstanceState == null) {
      getFragmentManager()
          .beginTransaction()
          .add(R.id.container, new PlaceholderFragment())
          .commit();
    }
    decorationDesigner();
  }
Ejemplo n.º 3
0
 @Override
 public void decorationDesigner() {
   super.decorationDesigner();
   headerTextView.setText(getText(R.string.title_activity_task));
 }