Update enrollment intro
1) Toggles resources between normal and accessibility enrollment 2) Add footer for more detail text Fixes: 127514618 Bug: 111548033 Test: Builds Change-Id: Ib0c47f04abc5ce9abbd8b27ef5782d1874379f16
This commit is contained in:
@@ -20,6 +20,7 @@ import android.content.Context;
|
||||
import android.content.res.TypedArray;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.LayoutInflater;
|
||||
import android.widget.CompoundButton;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.Switch;
|
||||
import android.widget.TextView;
|
||||
@@ -68,4 +69,12 @@ public class FaceEnrollAccessibilityToggle extends LinearLayout {
|
||||
public void setChecked(boolean checked) {
|
||||
mSwitch.setChecked(checked);
|
||||
}
|
||||
|
||||
public void setListener(CompoundButton.OnCheckedChangeListener listener) {
|
||||
mSwitch.setOnCheckedChangeListener(listener);
|
||||
}
|
||||
|
||||
public Switch getSwitch() {
|
||||
return mSwitch;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user