android.widget.CompoundButton.OnCheckedChangeListener Java Examples
The following examples show how to use
android.widget.CompoundButton.OnCheckedChangeListener.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PushSettingFragment.java From umeng_community_android with MIT License | 7 votes |
@Override protected void initWidgets() { int switchButtonResId = ResFinder.getId( "umeng_common_switch_button"); mSwitchButton = (SwitchButton) mRootView .findViewById(switchButtonResId); mSwitchButton.setChecked(mSDKConfig.isPushEnable(getActivity())); mSwitchButton.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { // 保存配置 CommConfig.getConfig().setSDKPushable(getActivity(), isChecked); } }); }
Example #2
Source File: WeiboListActivity.java From styT with Apache License 2.0 | 6 votes |
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.mainmenu, menu); android.support.v7.widget.SwitchCompat switchShop = menu.findItem(R.id.myswitch).getActionView().findViewById(R.id.switchForActionBar); switchShop.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton btn, boolean isChecked) { if (isChecked) { //开店申请 setTitle("显示个人"); //UI.toast(getApplicationContext(), "开店啦"); } else { //关店申请 setTitle("显示全部"); } } }); return true; }
Example #3
Source File: GosAirlinkReadyActivity.java From gokit-android with MIT License | 6 votes |
private void initEvent() { btnNext.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor()); btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); btnNext.setClickable(false); } } }); }
Example #4
Source File: GosAirlinkChooseDeviceWorkWiFiActivity.java From GOpenSource_AppKit_Android_AS with MIT License | 6 votes |
private void ininEvent() { btnNext.setOnClickListener(this); imgWiFiList.setOnClickListener(this); llChooseMode.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); }
Example #5
Source File: GosCheckDeviceWorkWiFiActivity.java From GOpenSource_AppKit_Android_AS with MIT License | 6 votes |
private void ininEvent() { btnNext.setOnClickListener(this); imgWiFiList.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); cbLaws.setChecked(true); }
Example #6
Source File: GosDeviceReadyActivity.java From gokit-android with MIT License | 6 votes |
private void initEvent() { tvNoRedLight.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor());; btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); btnNext.setClickable(false); } } }); }
Example #7
Source File: MidiConfigDialog.java From PdDroidPublisher with GNU General Public License v3.0 | 6 votes |
private View createOutputWidget(MidiDevice midiDevice, final MidiOutput midiOutput) { LinearLayout view = new LinearLayout(getContext()); TextView tv = new TextView(getContext()); tv.setText(new MidiPortAdapter(midiDevice, midiOutput).toString()); CheckBox cb = new CheckBox(getContext()); cb.setChecked(midiManager.isOpened(midiOutput)); cb.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { midiManager.open(midiOutput); } else { midiManager.close(midiOutput); } } }); view.addView(cb); view.addView(tv); return view; }
Example #8
Source File: LoginActivity.java From letv with Apache License 2.0 | 6 votes |
private void beautyView() { beautyEditText(this.mInputAccount, L10NString.getString("umgr_please_input_username"), this.mAccountTextWatcher); beautyCleanButton(this.mClearInputAccount, this); this.mInputAccountLayout.setOnClickListener(this); beautyCleanButton(this.mClearInputPassword, this); this.mInputPassword.setOnClickListener(this); beautyEditText(this.mInputPassword, L10NString.getString("umgr_please_input_password"), this.mPasswordTextWatcher); beautyColorTextView(this.mRegister, "#007dc4", false, L10NString.getString("umgr_whether_register_ornot"), this); beautyColorTextView(this.mFindpwd, "#007dc4", false, L10NString.getString("umgr_whether_forget_password"), this); beautyColorTextView(this.mSwitchAccount, "#007dc4", false, L10NString.getString("umgr_third_login_qihoo_tip"), this); beautyButtonGreen(this.mLogin, L10NString.getString("umgr_login"), this); beautyTextView(this.mAgreeClause1, L10NString.getString("umgr_login_agree_clause_1")); beautyTextView(this.mAgreeClauseUser, L10NString.getString("umgr_agree_clause_2_user")); beautyColorTextView(this.mAgreement, "#0099e5", true, L10NString.getString("umgr_agree_clause_2_agreement"), this); beautyTextView(this.mAnd, L10NString.getString("umgr_agree_clause_2_and")); beautyColorTextView(this.mPrivacy, "#0099e5", true, L10NString.getString("umgr_agree_clause_2_privacy"), this); beautyCheckButton(this.mShowPwd, new OnCheckedChangeListener() { public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { LoginActivity.this.mInputPassword.setTransformationMethod(LoginActivity.this.mShowPwd.isChecked() ? HideReturnsTransformationMethod.getInstance() : PasswordTransformationMethod.getInstance()); } }); loadPrivateConfig(); }
Example #9
Source File: GosUserLoginActivity.java From gokit-android with MIT License | 6 votes |
private void initEvent() { btnLogin.setOnClickListener(this); tvRegister.setOnClickListener(this); tvForget.setOnClickListener(this); tvPass.setOnClickListener(this); llQQ.setOnClickListener(this); llWechat.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); }
Example #10
Source File: SwitchPreference.java From AndroidMaterialPreferences with Apache License 2.0 | 6 votes |
/** * Creates and returns a listener, which allows to change the preference's value, depending on * the preference's switch's state. * * @return The listener, which has been created, as an instance of the type {@link * OnCheckedChangeListener} */ private OnCheckedChangeListener createCheckedChangeListener() { return new OnCheckedChangeListener() { @Override public void onCheckedChanged(final CompoundButton buttonView, final boolean isChecked) { if (getOnPreferenceChangeListener() == null || getOnPreferenceChangeListener() .onPreferenceChange(SwitchPreference.this, isChecked)) { setChecked(isChecked); } else { setChecked(!isChecked); } } }; }
Example #11
Source File: LLSettingsFragment.java From BLEChat with GNU General Public License v3.0 | 6 votes |
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { AppSettings.initializeAppSettings(mContext); View rootView = inflater.inflate(R.layout.fragment_settings, container, false); // 'Run in background' setting mCheckBackground = (CheckBox) rootView.findViewById(R.id.check_background_service); mCheckBackground.setChecked(AppSettings.getBgService()); mCheckBackground.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { AppSettings.setSettingsValue(AppSettings.SETTINGS_BACKGROUND_SERVICE, isChecked, 0, null); mFragmentListener.OnFragmentCallback(IFragmentListener.CALLBACK_RUN_IN_BACKGROUND, 0, 0, null, null,null); } }); mTextIot = (TextView) rootView.findViewById(R.id.text_iot_guide); mTextIot.append("\n\nthingspeak:key=xxx&field1=xxx[*]\n\n-> HTTP request: http://184.106.153.149/update?key=xxx&field1=xxx"); return rootView; }
Example #12
Source File: CheckBoxPropertyEditor.java From edslite with GNU General Public License v2.0 | 6 votes |
@Override public View createView(ViewGroup parent) { View view = super.createView(parent); _checkBox = (CheckBox) view.findViewById(android.R.id.checkbox); _checkBox.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if(!_loadingValue) onChecked(isChecked); } }); return view; }
Example #13
Source File: GosAirlinkReadyActivity.java From GOpenSource_AppKit_Android_AS with MIT License | 6 votes |
private void initEvent() { btnNext.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor()); btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); btnNext.setClickable(false); } } }); }
Example #14
Source File: GosAirlinkChooseDeviceWorkWiFiActivity.java From gokit-android with MIT License | 6 votes |
private void ininEvent() { btnNext.setOnClickListener(this); imgWiFiList.setOnClickListener(this); llChooseMode.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); }
Example #15
Source File: GosDeviceResetActivity.java From gokit-android with MIT License | 6 votes |
private void initEvent() { btnNext.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor()); btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); btnNext.setClickable(false); } } }); }
Example #16
Source File: GosUserLoginActivity.java From GOpenSource_AppKit_Android_AS with MIT License | 6 votes |
private void initEvent() { btnLogin.setOnClickListener(this); tvRegister.setOnClickListener(this); tvForget.setOnClickListener(this); tvPass.setOnClickListener(this); llQQ.setOnClickListener(this); llWechat.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); }
Example #17
Source File: GosDeviceReadyActivity.java From GOpenSource_AppKit_Android_AS with MIT License | 6 votes |
private void initEvent() { tvNoRedLight.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor());; btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.btn_next_shape_gray); btnNext.setClickable(false); } } }); }
Example #18
Source File: MineFragment.java From KJFrameForAndroid with Apache License 2.0 | 6 votes |
@Override protected void initWidget(View parentView) { super.initWidget(parentView); mRlExit.setVisibility(View.GONE); mTvVersion.setText("当前版本" + SystemTool.getAppVersionName(outsideAty)); mCbox.setChecked(PreferenceHelper.readBoolean(outsideAty, AppConfig.PUSH_SWITCH_FILE, AppConfig.PUSH_SWITCH_KEY)); mCbox.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { PreferenceHelper.write(outsideAty, AppConfig.PUSH_SWITCH_FILE, AppConfig.PUSH_SWITCH_KEY, isChecked); } }); }
Example #19
Source File: SoftApConfigActivity.java From Gizwits-SmartSocket_Android with MIT License | 6 votes |
/** * Inits the events. */ private void initEvents() { btnRetry.setOnClickListener(this); btnNext.setOnClickListener(this); btnOK.setOnClickListener(this); btnNext.setOnClickListener(this); ivBack.setOnClickListener(this); tbPswFlag.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { etInputPsw.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); } else { etInputPsw.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); } } }); }
Example #20
Source File: SwitchItemView.java From SettingView with Apache License 2.0 | 6 votes |
private void init(Context context) { mInflater = LayoutInflater.from(context); mItemView = mInflater.inflate(R.layout.setting_view_switch_item, null); addView(mItemView); mTitle = (TextView) mItemView.findViewById(R.id.setting_view_switch_item_title); mDrawable = (ImageView) mItemView.findViewById(R.id.setting_view_switch_item_icon); mSwitch = (SwitchButton) mItemView.findViewById(R.id.setting_view_switch_item_switch); mItemViewContainer = (LinearLayout) mItemView.findViewById(R.id.setting_view_switch_item_container); mItemViewContainer.setClickable(false); mSwitch.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { // TODO Auto-generated method stub if (null != mChangedListener) { mChangedListener.onSwitchItemChanged(isChecked); } } }); }
Example #21
Source File: MeUltrasonic.java From Makeblock-App-For-Android with MIT License | 6 votes |
public void setEnable(Handler handler){ mHandler = handler; toggleBt = (ToggleButton)view.findViewById(R.id.autoSwitch); OnCheckedChangeListener listener = new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton arg0, boolean arg1) { isAuto = arg1; if(isAuto == true){ mLoopHandler.postDelayed(mRunnable,100); }else{ byte[] wr = buildWrite(DEV_DCMOTOR, PORT_M1, slot, 0); mHandler.obtainMessage(MSG_VALUECHANGED,wr).sendToTarget(); byte[] wr2 = buildWrite(DEV_DCMOTOR, PORT_M2, slot, 0); mHandler.obtainMessage(MSG_VALUECHANGED,wr2).sendToTarget(); } } }; toggleBt.setOnCheckedChangeListener(listener); }
Example #22
Source File: LLSettingsFragment.java From BTChat with GNU General Public License v3.0 | 6 votes |
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { AppSettings.initializeAppSettings(mContext); View rootView = inflater.inflate(R.layout.fragment_settings, container, false); // 'Run in background' setting mCheckBackground = (CheckBox) rootView.findViewById(R.id.check_background_service); mCheckBackground.setChecked(AppSettings.getBgService()); mCheckBackground.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { AppSettings.setSettingsValue(AppSettings.SETTINGS_BACKGROUND_SERVICE, isChecked, 0, null); mFragmentListener.OnFragmentCallback(IFragmentListener.CALLBACK_RUN_IN_BACKGROUND, 0, 0, null, null,null); } }); mTextIot = (TextView) rootView.findViewById(R.id.text_iot_guide); mTextIot.append("\n\nthingspeak:key=xxx&field1=xxx[*]\n\n-> HTTP request: http://184.106.153.149/update?key=xxx&field1=xxx"); return rootView; }
Example #23
Source File: GosUserLoginActivity.java From Gizwits-SmartBuld_Android with MIT License | 6 votes |
private void initEvent() { btnLogin.setOnClickListener(this); tvRegister.setOnClickListener(this); tvForget.setOnClickListener(this); tvPass.setOnClickListener(this); llQQ.setOnClickListener(this); llWechat.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); }
Example #24
Source File: GosDeviceResetActivity.java From Gizwits-SmartBuld_Android with MIT License | 6 votes |
private void initEvent() { btnNext.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.button_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor()); btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.button_shape_gray); btnNext.setClickable(false); } } }); }
Example #25
Source File: GosAirlinkChooseDeviceWorkWiFiActivity.java From Gizwits-SmartBuld_Android with MIT License | 6 votes |
private void ininEvent() { btnNext.setOnClickListener(this); imgWiFiList.setOnClickListener(this); llChooseMode.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); }
Example #26
Source File: GosCheckDeviceWorkWiFiActivity.java From Gizwits-SmartBuld_Android with MIT License | 6 votes |
private void ininEvent() { btnNext.setOnClickListener(this); imgWiFiList.setOnClickListener(this); cbLaws.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { String psw = etPsw.getText().toString(); if (isChecked) { etPsw.setInputType(0x90); } else { etPsw.setInputType(0x81); } etPsw.setSelection(psw.length()); } }); cbLaws.setChecked(true); }
Example #27
Source File: GosAirlinkReadyActivity.java From Gizwits-SmartBuld_Android with MIT License | 6 votes |
private void initEvent() { btnNext.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.button_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor()); btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.button_shape_gray); btnNext.setClickable(false); } } }); }
Example #28
Source File: GosDeviceReadyActivity.java From Gizwits-SmartBuld_Android with MIT License | 6 votes |
private void initEvent() { tvNoRedLight.setOnClickListener(this); tvSelect.setOnClickListener(this); btnNext.setOnClickListener(this); btnNext.setClickable(false); btnNext.setBackgroundResource(R.drawable.button_shape_gray); cbSelect.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { btnNext.setBackgroundDrawable(GosDeploy.setButtonBackgroundColor());; btnNext.setClickable(true); } else { btnNext.setBackgroundResource(R.drawable.button_shape_gray); btnNext.setClickable(false); } } }); }
Example #29
Source File: ChangePswActivity.java From Gizwits-SmartSocket_Android with MIT License | 6 votes |
/** * Inits the events. */ private void initEvents() { ivBack.setOnClickListener(this); btnConfirm.setOnClickListener(this); rlResult.setOnClickListener(this); tbPswFlag.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { etPswOld.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); etPswNew.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); } else { etPswOld.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); etPswNew.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); } } }); }
Example #30
Source File: RegisterActivity.java From Gizwits-SmartSocket_Android with MIT License | 6 votes |
/** * Inits the events. */ private void initEvents() { btnGetCaptchaCode.setOnClickListener(this); // btnGetCode.setOnClickListener(this); btnReGetCode.setOnClickListener(this); btnSure.setOnClickListener(this); tvPhoneSwitch.setOnClickListener(this); ivBack.setOnClickListener(this); tbPswFlag.setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { if (isChecked) { etInputPsw.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); } else { etInputPsw.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD); } } }); }