たった一行で済みます。うんうん。 ただ、新しい環境(記述時2.3)だと動きません。 僕はAndroidStudio2.0で動かしました。 凄く粗削りですがこちらにコードもおいてあります。かなり記事にする上で端折っているのでよかったら合わせて読んでください。 使おう <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <EditText android:layout_width="match_parent" andr