2
안드로이드 작은 RatingBar의 색상을 설정하는 방법 :이 코드와 함께 작은 ProgressBar의 사용자 정의 색상을 설정하려고
<style name="RatingBar" parent="Theme.AppCompat">
<item name="colorControlNormal">@color/gold_yellow</item>
<item name="colorControlActivated">@color/light_grey</item>
</style>
<RatingBar
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:isIndicator="true"
android:rating="3.3"
android:theme="@style/RatingBar"
android:id="@+id/go_rating"
style="@android:style/Widget.Holo.Light.RatingBar.Small"/>
이의 문제는 이것이다 : 별은 상당히 괜찮 작은하지만, 파란색입니다. 그러나 내가 style="@android:style/Widget.Holo.Light.RatingBar.Small
을 제거하면 색이 금색 황색이되지만 커지게됩니다.
별의 맞춤 색상을 설정하고 동시에 작은 값으로 설정하려면 어떻게하나요?
감사합니다! 훌륭해! 그리고 저는 이것 때문에 3 시간 이상 고생하고 있습니다. 감사! – X09
기꺼이 도와 드리겠습니다;) 대답을 표시 할 수 있습니까? – nshmura
네, 저도 그렇게했습니다. – X09