Re: [問題] imageView

看板AndroidDev作者 (nahgnimiast)時間13年前 (2012/12/20 00:33), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串2/2 (看更多)
分兩半大約這樣寫吧。 <linearlayout android:orientation="horizontal"> <imageview andorid:layout_weight="1" android:layout_width="0" android:layout_height="fill_parent" android:src="@drawable/aa" android:scaleType="fitXY" /> <imageview android:layout_weight="1" android:layout_width="0" android:layout_height="fill_parent" android:src="@drawable/bb" android:scaleType="fitXY"/> </linearlayou> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.241.124.234

12/20 10:50, , 1F
QQ 這樣好像試不出來
12/20 10:50, 1F

12/20 13:26, , 2F
我試可以啊,裡面有錯字,scaleType是fitXY
12/20 13:26, 2F
謝謝,已訂正 ※ 編輯: tsaiminghan 來自: 36.229.224.243 (12/20 21:03)
文章代碼(AID): #1GqUnM8y (AndroidDev)
討論串 (同標題文章)
文章代碼(AID): #1GqUnM8y (AndroidDev)