Stay organized with collections
Save and categorize content based on your preferences.
MaterialComponentsViewInflater
public
class
MaterialComponentsViewInflater
extends AppCompatViewInflater
java.lang.Object
|
↳ |
androidx.appcompat.app.AppCompatViewInflater
|
|
↳ |
com.google.android.material.theme.MaterialComponentsViewInflater
|
An extension of AppCompatViewInflater
that replaces some framework widgets with Material
Components ones at inflation time, provided a Material Components theme is in use.
Summary
Inherited methods |
From class
androidx.appcompat.app.AppCompatViewInflater
AppCompatAutoCompleteTextView
|
createAutoCompleteTextView(Context arg0, AttributeSet arg1)
|
AppCompatButton
|
createButton(Context arg0, AttributeSet arg1)
|
AppCompatCheckBox
|
createCheckBox(Context arg0, AttributeSet arg1)
|
AppCompatCheckedTextView
|
createCheckedTextView(Context arg0, AttributeSet arg1)
|
AppCompatEditText
|
createEditText(Context arg0, AttributeSet arg1)
|
AppCompatImageButton
|
createImageButton(Context arg0, AttributeSet arg1)
|
AppCompatImageView
|
createImageView(Context arg0, AttributeSet arg1)
|
AppCompatMultiAutoCompleteTextView
|
createMultiAutoCompleteTextView(Context arg0, AttributeSet arg1)
|
AppCompatRadioButton
|
createRadioButton(Context arg0, AttributeSet arg1)
|
AppCompatRatingBar
|
createRatingBar(Context arg0, AttributeSet arg1)
|
AppCompatSeekBar
|
createSeekBar(Context arg0, AttributeSet arg1)
|
AppCompatSpinner
|
createSpinner(Context arg0, AttributeSet arg1)
|
AppCompatTextView
|
createTextView(Context arg0, AttributeSet arg1)
|
AppCompatToggleButton
|
createToggleButton(Context arg0, AttributeSet arg1)
|
View
|
createView(Context arg0, String arg1, AttributeSet arg2)
|
final
View
|
createView(View arg0, String arg1, Context arg2, AttributeSet arg3, boolean arg4, boolean arg5, boolean arg6, boolean arg7)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
MaterialComponentsViewInflater
public MaterialComponentsViewInflater ()
Protected methods
createAutoCompleteTextView
protected AppCompatAutoCompleteTextView createAutoCompleteTextView (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |
Returns |
AppCompatAutoCompleteTextView |
|
createButton
protected AppCompatButton createButton (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |
createCheckBox
protected AppCompatCheckBox createCheckBox (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |
Returns |
AppCompatCheckBox |
|
createRadioButton
protected AppCompatRadioButton createRadioButton (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |
Returns |
AppCompatRadioButton |
|
createTextView
protected AppCompatTextView createTextView (Context context,
AttributeSet attrs)
Parameters |
context |
Context |
attrs |
AttributeSet |
Returns |
AppCompatTextView |
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-10-09 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2023-10-09 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-09 UTC."]]