Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

PinPicker

public class PinPicker
extends Picker

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ androidx.leanback.widget.picker.Picker
           ↳ androidx.leanback.widget.picker.PinPicker


Picker subclass for allowing the user to enter a numerical PIN. The column count can be customized, and defaults to 4. R.attr.columnCount

Summary

Inherited constants

Inherited fields

Public constructors

PinPicker(Context context, AttributeSet attrs)
PinPicker(Context context, AttributeSet attrs, int defStyleAttr)

Public methods

boolean dispatchKeyEvent(KeyEvent event)
String getPin()

Returns the PIN that the user has entered.

boolean performClick()
void resetPin()

Resets all columns and selects the first one.

void setNumberOfColumns(int count)

Sets the number of columns for entering the PIN.

Inherited methods