まず、新規画面の作成途中
画面のレイアウトがうまく出来ない。。。。
ので、とりあえず、放置しておく。
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <!-- タイトルの表示 --> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" > <EditText android:id="@+id/titleText" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_span="2" android:hint="title" /> </LinearLayout> <!-- 本文の表示 --> <LinearLayout android:layout_width="fill_parent" android:layout_height="fill_parent" > <EditText android:id="@+id/textText" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_span="2" android:hint="text" /> </LinearLayout> </LinearLayout>
Textを画面いっぱいまで大きくしたい。
そして、一番下にボタンを配置するのを忘れていた。。
まぁ、ちょっと調べればわかりそうなので、後に回す。
次はListViewの項目をタップしたらこの画面が開くようにしてみる。。。が、
画面作ったら既存のソースが動作しなくなった。。。
バージョン管理アプリを入れて前のバージョンにさくっと戻せるようにしたい。