[問題] stretchColumns="*" 使用
小弟最近在排面板
我想要用 <LinearLayout>將兩個textview使用horizontal方式排列
以一樣比例塞入,我使用了stretchColumns="*",以為就可以達成效果,
但是卻一點都沒有改變,textview還是以內容的文字多寡為size
請問該如何解決,打字可能不清楚,所以貼下code
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:stretchColumns="*"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="size" />
<TextView
android:id="@+id/show"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/TextView01"
android:text="non" />
</LinearLayout>
麻煩各位大大了
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.58.187.208
推
05/09 12:08, , 1F
05/09 12:08, 1F
推
05/09 14:04, , 2F
05/09 14:04, 2F
推
05/09 23:09, , 3F
05/09 23:09, 3F
推
05/10 12:01, , 4F
05/10 12:01, 4F
→
05/10 13:36, , 5F
05/10 13:36, 5F