[問題] 請問ratingbar可以多行顯示嗎?

看板AndroidDev作者 (flunky99)時間14年前 (2011/12/28 09:18), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
我想在ratingbar裡顯示10顆星星 可是螢幕塞不下 請問有辦法拆成兩行嗎? <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="fill_parent" 4 android:layout_height="fill_parent" 5 android:orientation="vertical" > 6 7 <RatingBar 8 android:id="@+id/ratingBar1" 9 android:layout_width="wrap_content" 10 android:layout_height="wrap_content" 11 android:numStars="10" 12 android:stepSize="1.0" /> 13 14 </LinearLayout> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 112.104.8.33
文章代碼(AID): #1E-cvr2w (AndroidDev)