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>(context: Context!)

<init>(context: Context!, attrs: AttributeSet!)

<init>(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

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

Public constructors

<init>

AppCompatRatingBar(context: Context!)

<init>

AppCompatRatingBar(context: Context!, attrs: AttributeSet!)

<init>

AppCompatRatingBar(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Protected methods

onMeasure

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