Android 如何更改API上分级栏的黑色/青色(选中时)轮廓<;23
我正在我的项目中使用一个分级栏。它在API 23+中运行得非常好,但对于API<23,它看起来非常难看。我对黑色的轮廓很满意,但一旦选中它,它就会显得青色而糟糕Android 如何更改API上分级栏的黑色/青色(选中时)轮廓<;23,android,android-layout,android-appwidget,ratingbar,Android,Android Layout,Android Appwidget,Ratingbar,我正在我的项目中使用一个分级栏。它在API 23+中运行得非常好,但对于API
<androidx.appcompat.widget.AppCompatRatingBar
android:id="@+id/rating_bar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
android:numStars="5"
style="@style/RatingBar"
android:progressTint="@color/btn_yellow"
android:secondaryProgressTint="@android:color/transparent"
android:stepSize="0.5" />
<style name="RatingBar" parent="Theme.AppCompat">
<item name="colorControlNormal">@color/expert_red</item>
<item name="colorControlActivated">@color/expert_red</item>
<item name="android:colorEdgeEffect">@color/expert_red</item>
</style>