private void showQuestions() { setContentView(R.layout.main); TextView text = (TextView) findViewById(R.id.xmlText); for (Question question : questions) { text.append("\n" + question.toString()); } }
@Override public void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_NO_TITLE); super.onCreate(savedInstanceState); questions = Config.getInstance().getQuestionRepository().getQuestions(); // setupAlarms(); for (Question question : questions) Log.v(LOGTAG, question.toString()); // questionViews = new Vector<View>(); // createQuestionViews(); setContentView(R.layout.home); }