質問編集履歴

1

コードの追加

2016/11/28 01:18

投稿

seita1224
seita1224

スコア14

test CHANGED
File without changes
test CHANGED
@@ -7,3 +7,53 @@
7
7
 
8
8
 
9
9
  どのプロパティを変更すれば星の形を変えずにサイズを変更できるのでしょうか?
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ 追記
18
+
19
+ ---
20
+
21
+
22
+
23
+
24
+
25
+ ```
26
+
27
+ <style name="my_RatingBar" parent="android:Widget.RatingBar">
28
+
29
+ <item name="android:maxHeight">5dp</item>
30
+
31
+ <item name="android:maxWidth">20dp</item>
32
+
33
+ </style>
34
+
35
+ ```
36
+
37
+
38
+
39
+ ```
40
+
41
+ <RatingBar
42
+
43
+ android:id="@+id/rateRaitingBar"
44
+
45
+ android:layout_width="match_parent"
46
+
47
+ android:layout_height="wrap_content"
48
+
49
+ android:isIndicator="false"
50
+
51
+ android:stepSize="0.5"
52
+
53
+ style="@style/my_RatingBar"
54
+
55
+ android:numStars="5"
56
+
57
+ android:rating="5" />
58
+
59
+ ```