[問題] 新手請問RelativeLayout??
最近買了一本書"Android SDK實戰演練"
在練習到RelativeLayout這個部份時...有點問題...
我試打了下面的程式碼在xml檔..
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView android:id="@+id/contact_entry"
android:layout_width="fill_parent"
android:layout_height="wrap_parent"
android:text="聯絡人" />
</RelativeLayout>
正常會顯示聯絡人的字樣...
但我的畫面都沒有...
如圖 http://ppt.cc/gn~9
請問是哪邊少設定到嗎??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.41.139.117
推
11/17 01:14, , 1F
11/17 01:14, 1F
→
11/17 01:14, , 2F
11/17 01:14, 2F
推
11/17 07:17, , 3F
11/17 07:17, 3F
推
11/17 12:43, , 4F
11/17 12:43, 4F
→
11/17 22:26, , 5F
11/17 22:26, 5F