作者coolshake (flunky99)
看板AndroidDev
标题[问题] 请问ratingbar可以多行显示吗?
时间Wed Dec 28 09:18:42 2011
我想在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