私の macbook ではエミュレーターの実行速度が非常に遅いため、エミュレーターではなく、Nexus 7 デバイスにコンパイルして実行しています。
これが私のコードです:
<?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"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:text="@string/hello" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_send"/>
</LinearLayout>
私は本に従っていますが、何が間違っているのかわかりません。ADT Eclipse ide を使用しています。何か案は?テキストはありますが、ボタンが表示されません。グラフィカル ビューにボタンを追加すると、コードを挿入すると機能するように見えます。