AppCompatRatingBar

open class AppCompatRatingBar : RatingBar
kotlin.Any
   ↳ android.view.View
   ↳ android.widget.ProgressBar
   ↳ android.widget.AbsSeekBar
   ↳ android.widget.RatingBar
   ↳ androidx.appcompat.widget.AppCompatRatingBar

A RatingBar which supports compatible features on older versions of the platform.

This will automatically be used when you use RatingBar in your layouts and the top-level activity / dialog is provided by appcompat. You should only need to manually use this class when writing custom views.

Summary

Public constructors

<init>(@NonNull context: Context)

<init>(@NonNull context: Context, @Nullable attrs: AttributeSet?)

<init>(@NonNull context: Context, @Nullable attrs: AttributeSet?, defStyleAttr: Int)

Protected methods

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

Public constructors

<init>

AppCompatRatingBar(@NonNull context: Context)

<init>

AppCompatRatingBar(@NonNull context: Context, @Nullable attrs: AttributeSet?)

<init>

AppCompatRatingBar(@NonNull context: Context, @Nullable attrs: AttributeSet?, defStyleAttr: Int)

Protected methods

onMeasure

protected open fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int): Unit