package com.fc2.blog98.andromaker.housekeepingbook; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class Yosan extends Activity{ private TextView text; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.info); text = (TextView)this.findViewById(R.id.infoText); text(); } public void text(){ text.append("a"); text.append("\n"); text.append("b"); } }