android.support.design.widget.TextInputEditText Java Examples
The following examples show how to use
android.support.design.widget.TextInputEditText.
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: AbiSymbolViewHolder.java From EosCommander with MIT License | 6 votes |
@Override protected String getItemValue(View itemView) { String symbolRep= ""; TextInputEditText tie = itemView.findViewById( R.id.et_decimal_input); if ( tie != null ) { if (! StringUtils.isEmpty( tie.getText())) { symbolRep = tie.getText().toString(); } } symbolRep += ","; tie = itemView.findViewById( R.id.et_name_input ); if ( tie != null ) { if (! StringUtils.isEmpty( tie.getText())) { symbolRep += tie.getText().toString(); } } return symbolRep; }
Example #2
Source File: ListDialogCache.java From privacy-friendly-shopping-list with Apache License 2.0 | 6 votes |
public ListDialogCache(View rootview) { prioritySpinner = (Spinner) rootview.findViewById(R.id.priority_spinner); reminderSpinner = (Spinner) rootview.findViewById(R.id.reminder_spinner); listNameText = (TextInputEditText) rootview.findViewById(R.id.list_name); listNameInputLayout = (TextInputLayout) rootview.findViewById(R.id.list_name_input_layout); reminderText = (TextInputEditText) rootview.findViewById(R.id.edittext_reminder); listNotes = (TextInputEditText) rootview.findViewById(R.id.list_notes); checkBox = (CheckBox) rootview.findViewById(R.id.list_dialog_checkbox); deadlineExpansionButton = (ImageView) rootview.findViewById(R.id.expand_button_list); deadlineLayout = (LinearLayout) rootview.findViewById(R.id.deadline_layout); dateLayout = (LinearLayout) rootview.findViewById(R.id.deadline_date); timeLayout = (LinearLayout) rootview.findViewById(R.id.deadline_time); reminderLayout = (LinearLayout) rootview.findViewById(R.id.layout_reminder); dateTextView = (TextView) rootview.findViewById(R.id.date_view); timeTextView = (TextView) rootview.findViewById(R.id.time_view); titleTextView = (TextView) rootview.findViewById(R.id.dialog_title); statisticsSwitch = (SwitchCompat) rootview.findViewById(R.id.switch_statistics); reminderSwitch = (SwitchCompat) rootview.findViewById(R.id.switch_reminder); }
Example #3
Source File: FireResetPassword.java From Learning-Resources with MIT License | 6 votes |
@Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.lo_fire_auth_resetpassword); mCrdntrlyot = (CoordinatorLayout) findViewById(R.id.cordntrlyot_fireauth_resetpaswrd); mTxtinptlyotEmail = (TextInputLayout) findViewById(R.id.txtinputlyot_fireauth_resetpaswrd_email); mTxtinptEtEmail = (TextInputEditText) findViewById(R.id.txtinptet_fireauth_resetpaswrd_email); mAppcmptbtnSignup = (AppCompatButton) findViewById(R.id.appcmptbtn_fireauth_resetpaswrd); mPrgrsbrMain = (ProgressBar) findViewById(R.id.prgrsbr_fireauth_resetpaswrd); mFireAuth = FirebaseAuth.getInstance(); mAppcmptbtnSignup.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { // Check all field Validation and call API checkVldtnCallApi(); } }); }
Example #4
Source File: FireSignup.java From Learning-Resources with MIT License | 6 votes |
@Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.lo_fire_auth_signup); mCrdntrlyot = (CoordinatorLayout) findViewById(R.id.cordntrlyot_fireauth_signup); mTxtinptlyotEmail = (TextInputLayout) findViewById(R.id.txtinputlyot_fireauth_signup_email); mTxtinptlyotPaswrd = (TextInputLayout) findViewById(R.id.txtinputlyot_fireauth_signup_password); mTxtinptEtEmail = (TextInputEditText) findViewById(R.id.txtinptet_fireauth_signup_email); mTxtinptEtPaswrd = (TextInputEditText) findViewById(R.id.txtinptet_fireauth_signup_password); mAppcmptbtnSignup = (AppCompatButton) findViewById(R.id.appcmptbtn_fireauth_signup); mTvFrgtPaswrd = (TextView) findViewById(R.id.tv_fireauth_signup_frgtpaswrd); mTvSigninMe = (TextView) findViewById(R.id.tv_fireauth_signup_signinme); mPrgrsbrMain = (ProgressBar) findViewById(R.id.prgrsbr_fireauth_signup); mFireAuth = FirebaseAuth.getInstance(); mFireDB = FirebaseDatabase.getInstance(); mAppcmptbtnSignup.setOnClickListener(this); mTvFrgtPaswrd.setOnClickListener(this); mTvSigninMe.setOnClickListener(this); }
Example #5
Source File: MainActivity.java From place-search-dialog with Apache License 2.0 | 6 votes |
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); location = (TextInputEditText) findViewById(R.id.etLocation); location.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { if (motionEvent.getAction() == MotionEvent.ACTION_UP) { showPlacePickerDialog(); } return false; } }); }
Example #6
Source File: IssueReporterActivity.java From More-For-GO with GNU General Public License v3.0 | 6 votes |
private void findViews() { toolbar = (Toolbar) findViewById(R.id.air_toolbar); inputTitle = (TextInputEditText) findViewById(R.id.air_inputTitle); inputDescription = (TextInputEditText) findViewById(R.id.air_inputDescription); textDeviceInfo = (TextView) findViewById(R.id.air_textDeviceInfo); buttonDeviceInfo = (ImageButton) findViewById(R.id.air_buttonDeviceInfo); layoutDeviceInfo = (ExpandableRelativeLayout) findViewById(R.id.air_layoutDeviceInfo); inputUsername = (TextInputEditText) findViewById(R.id.air_inputUsername); inputPassword = (TextInputEditText) findViewById(R.id.air_inputPassword); inputEmail = (TextInputEditText) findViewById(R.id.air_inputEmail); optionUseAccount = (RadioButton) findViewById(R.id.air_optionUseAccount); optionAnonymous = (RadioButton) findViewById(R.id.air_optionAnonymous); layoutLogin = (ExpandableRelativeLayout) findViewById(R.id.air_layoutLogin); layoutAnonymous = (ExpandableRelativeLayout) findViewById(R.id.air_layoutGuest); buttonSend = (FloatingActionButton) findViewById(R.id.air_buttonSend); }
Example #7
Source File: ApiTestFragment.java From AndroidSDK with MIT License | 6 votes |
private void showInputDeviceIdDialog(final Function1<String> function) { final View contentView = mInflater.inflate(R.layout.dialog_input_device_id, null); final TextInputEditText deviceIdEditText = (TextInputEditText) contentView.findViewById(R.id.device_id); new AlertDialog.Builder(getContext()) .setView(contentView) .setPositiveButton(R.string.action_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { String deviceId = deviceIdEditText.getText().toString().trim(); if (!TextUtils.isEmpty(deviceId)) { function.apply(deviceId); mProgressDialog.show(); } } }) .setNegativeButton(R.string.action_cancel, null) .show(); }
Example #8
Source File: ApiTestFragment.java From AndroidSDK with MIT License | 6 votes |
private void showInputDataStreamIdDialog(final Function2<String> function) { final View contentView = mInflater.inflate(R.layout.dialog_input_device_and_datastream_id, null); final TextInputEditText deviceIdEditText = (TextInputEditText) contentView.findViewById(R.id.device_id); final TextInputEditText dataStreamIdEditText = (TextInputEditText) contentView.findViewById(R.id.datastream_id); new AlertDialog.Builder(getContext()) .setView(contentView) .setPositiveButton(R.string.action_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { String deviceId = deviceIdEditText.getText().toString().trim(); String dataStreamId = dataStreamIdEditText.getText().toString().trim(); if (!TextUtils.isEmpty(deviceId) && !TextUtils.isEmpty(dataStreamId)) { function.apply(deviceId, dataStreamId); mProgressDialog.show(); } } }) .setNegativeButton(R.string.action_cancel, null) .show(); }
Example #9
Source File: ProductDialogCache.java From privacy-friendly-shopping-list with Apache License 2.0 | 6 votes |
public ProductDialogCache(View rootview) { productName = (AutoCompleteTextView) rootview.findViewById(R.id.product_name); productNameInputLayout = (TextInputLayout) rootview.findViewById(R.id.product_name_input_layout); productPriceInputLayout = (TextInputLayout) rootview.findViewById(R.id.product_price_input_layout); quantity = (TextInputEditText) rootview.findViewById(R.id.quantity); price = (TextInputEditText) rootview.findViewById(R.id.product_price); customStore = (AutoCompleteTextView) rootview.findViewById(R.id.store_input); category = (AutoCompleteTextView) rootview.findViewById(R.id.category_input); productNotes = (TextInputEditText) rootview.findViewById(R.id.product_notes); buttonPlus = (Button) rootview.findViewById(R.id.product_button_plus); buttonMinus = (Button) rootview.findViewById(R.id.product_button_minus); productCheckBox = (CheckBox) rootview.findViewById(R.id.product_checkbox); expandableLayout = (LinearLayout) rootview.findViewById(R.id.expandable_product_view); expandableImageView = (ImageView) rootview.findViewById(R.id.expand_button); cameraIcon = (ImageView) rootview.findViewById(R.id.camera_button); productImage = (ImageView) rootview.findViewById(R.id.image_view); titleTextView = (TextView) rootview.findViewById(R.id.dialog_title); }
Example #10
Source File: ApiTestFragment.java From AndroidSDK with MIT License | 6 votes |
private void showInputCmdUUIDDialog(final Function1<String> function) { final View contentView = mInflater.inflate(R.layout.dialog_input_cmd_uuid, null); final TextInputEditText binaryIndexEditText = (TextInputEditText) contentView.findViewById(R.id.cmd_uuid); new AlertDialog.Builder(getContext()) .setView(contentView) .setPositiveButton(R.string.action_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { String cmdUUID = binaryIndexEditText.getText().toString().trim(); if (!TextUtils.isEmpty(cmdUUID)) { function.apply(cmdUUID); mProgressDialog.show(); } } }) .setNegativeButton(R.string.action_cancel, null) .show(); }
Example #11
Source File: ApiTestFragment.java From AndroidSDK with MIT License | 6 votes |
private void showInputTriggerIdDialog(final Function1<String> function) { final View contentView = mInflater.inflate(R.layout.dialog_input_trigger_id, null); final TextInputEditText triggerIdEditText = (TextInputEditText) contentView.findViewById(R.id.trigger_id); new AlertDialog.Builder(getContext()) .setView(contentView) .setPositiveButton(R.string.action_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { String triggerId = triggerIdEditText.getText().toString().trim(); if (!TextUtils.isEmpty(triggerId)) { function.apply(triggerId); mProgressDialog.show(); } } }) .setNegativeButton(R.string.action_cancel, null) .show(); }
Example #12
Source File: ApiTestFragment.java From AndroidSDK with MIT License | 6 votes |
private void showInputBinaryIndexDialog(final Function1<String> function) { final View contentView = mInflater.inflate(R.layout.dialog_input_binary_index, null); final TextInputEditText binaryIndexEditText = (TextInputEditText) contentView.findViewById(R.id.binary_index); new AlertDialog.Builder(getContext()) .setView(contentView) .setPositiveButton(R.string.action_ok, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) { String binaryIndex = binaryIndexEditText.getText().toString().trim(); if (!TextUtils.isEmpty(binaryIndex)) { function.apply(binaryIndex); mProgressDialog.show(); } } }) .setNegativeButton(R.string.action_cancel, null) .show(); }
Example #13
Source File: AbiIntegerViewHolder.java From EosCommander with MIT License | 5 votes |
@Override protected View getItemView(LayoutInflater layoutInflater, ViewGroup parentView, String label ) { ViewGroup vg = (ViewGroup)layoutInflater.inflate( R.layout.label_with_int, parentView, false ); setItemViewLabel( vg, label ); // add TYPE_NUMBER_FLAG_SIGNED when type is "signed int". TextInputEditText tie = vg.findViewById( R.id.et_input); tie.setInputType( getTypeName().startsWith( TYPE_PREFIX_FOR_SIGNED ) ? ( InputType.TYPE_CLASS_NUMBER | TYPE_NUMBER_FLAG_SIGNED) : InputType.TYPE_CLASS_NUMBER ); return vg; }
Example #14
Source File: LEDActivity.java From styT with Apache License 2.0 | 5 votes |
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_led); mContentLed = (TextInputEditText) findViewById(R.id.content_led); Button mFontcolorBtnLed = (Button) findViewById(R.id.fontcolor_btn_led); Button mBgcolorBtnLed = (Button) findViewById(R.id.bgcolor_btn_led); mPreviewLed = (TextView) findViewById(R.id.preview_led); ImageView mReverseColorLed = (ImageView) findViewById(R.id.reverseColor_led); mShowstyleRadiogroupLed = (RadioGroup) findViewById(R.id.showstyle_radiogroup_led); AppCompatRadioButton mSingleRadiobtnLed = (AppCompatRadioButton) findViewById(R.id.single_radiobtn_led); AppCompatRadioButton mSingleTossBtnLed = (AppCompatRadioButton) findViewById(R.id.single_toss_radiobtn_led); mRollspeedSeekbarLed = (AppCompatSeekBar) findViewById(R.id.rollspeed_seekbar_led); mAdaptiveRadiobtnLed = (AppCompatRadioButton) findViewById(R.id.adaptive_radiobtn_led); mLinesTextView = (TextView) findViewById(R.id.tv_lines_led); mlinesSeekbar = (AppCompatSeekBar) findViewById(R.id.lines_seekbar_led); AppCompatRadioButton mMagicRadiobtnLed = (AppCompatRadioButton) findViewById(R.id.magic_radiobtn_led); mCompatSpinner = (AppCompatSpinner) findViewById(R.id.spinner_magicstyle_led); Button mStartBtnLed = (AppCompatButton) findViewById(R.id.start_btn_led); if (mFontcolorBtnLed != null) { mFontcolorBtnLed.setOnClickListener(this); } if (mStartBtnLed != null) { mStartBtnLed.setOnClickListener(this); } if (mBgcolorBtnLed != null) { mBgcolorBtnLed.setOnClickListener(this); } initViewEvent(); }
Example #15
Source File: LayerBindingAdapters.java From spline with Apache License 2.0 | 5 votes |
/** * Binding adapter for converting view position and dimension values to text for EditTexts. The * InverseBindingAdapter that follows does the reverse * @param view * @param dimValue */ @BindingAdapter("android:text") public static void setText(TextInputEditText view, float dimValue) { String curString = view.getText().toString(); int curInt; try { curInt = Integer.parseInt(curString); } catch (NumberFormatException e) { curInt = 0; } // Do not set the text if the parsed string is null, if it ends in a . or if it is equal to // the current value to avoid the value changing under the user's cursor (and the cursor // jumping) as they type. if (curString == null || curString.length() == 0 || curString.charAt(curString.length() - 1) != '.' && dimValue != curInt) { String dimString = ""; if (dimValue == (int) dimValue) { dimString = Integer.toString((int) dimValue); } else { dimString = Float.toString(dimValue); } if (dimString != null && view != null && view.getText() != null && !dimString.equals(view.getText().toString())) { view.setText(dimString); } } }
Example #16
Source File: LayerBindingAdapters.java From spline with Apache License 2.0 | 5 votes |
@InverseBindingAdapter(attribute = "android:text") public static float getText(TextInputEditText dimView) { try { String dimString = dimView.getText().toString(); float dimVal = Float.parseFloat(dimString); return dimVal; } catch (NumberFormatException e) { // Return 0 for now return 0; } }
Example #17
Source File: EditUserActivity.java From Pharmacy-Android with GNU General Public License v3.0 | 5 votes |
@Override public void onValidationFailed(List<ValidationError> errors) { for (ValidationError error : errors) { View view = error.getView(); String message = error.getCollatedErrorMessage(this); // Display error messages ;) if (view instanceof TextInputEditText) { ((TextInputLayout) view.getParent()).setError(message); view.requestFocus(); } else { Toast.makeText(this, message, Toast.LENGTH_LONG).show(); } } }
Example #18
Source File: SignUpFragment.java From android-login with MIT License | 5 votes |
@Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); if (view != null) { view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.color_sign_up)); caption.setText(getString(R.string.sign_up_label)); for (TextInputEditText editText : views) { if (editText.getId() == R.id.password_input_edit) { final TextInputLayout inputLayout = ButterKnife.findById(view, R.id.password_input); final TextInputLayout confirmLayout = ButterKnife.findById(view, R.id.confirm_password); Typeface boldTypeface = Typeface.defaultFromStyle(Typeface.BOLD); inputLayout.setTypeface(boldTypeface); confirmLayout.setTypeface(boldTypeface); editText.addTextChangedListener(new TextWatcherAdapter() { @Override public void afterTextChanged(Editable editable) { inputLayout.setPasswordVisibilityToggleEnabled(editable.length() > 0); } }); } editText.setOnFocusChangeListener((temp, hasFocus) -> { if (!hasFocus) { boolean isEnabled = editText.getText().length() > 0; editText.setSelected(isEnabled); } }); } caption.setVerticalText(true); foldStuff(); caption.setTranslationX(getTextPadding()); } }
Example #19
Source File: LogInFragment.java From android-login with MIT License | 5 votes |
@Override public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); if (view != null) { caption.setText(getString(R.string.log_in_label)); view.setBackgroundColor(ContextCompat.getColor(getContext(), R.color.color_log_in)); for (TextInputEditText editText : views) { if (editText.getId() == R.id.password_input_edit) { final TextInputLayout inputLayout = ButterKnife.findById(view, R.id.password_input); Typeface boldTypeface = Typeface.defaultFromStyle(Typeface.BOLD); inputLayout.setTypeface(boldTypeface); editText.addTextChangedListener(new TextWatcherAdapter() { @Override public void afterTextChanged(Editable editable) { inputLayout.setPasswordVisibilityToggleEnabled(editable.length() > 0); } }); } editText.setOnFocusChangeListener((temp, hasFocus) -> { if (!hasFocus) { boolean isEnabled = editText.getText().length() > 0; editText.setSelected(isEnabled); } }); } } }
Example #20
Source File: HassActivity.java From home-assistant-Android with GNU General Public License v3.0 | 5 votes |
@Override public void loginFailed(int reason, String data) { if (reason == FAILURE_REASON_BASIC_AUTH) { LayoutInflater inflater = LayoutInflater.from(this); @SuppressLint("InflateParams") View dialogView = inflater.inflate(R.layout.dialog_basic_auth, null); TextView dialogText = dialogView.findViewById(R.id.dialog_basic_auth_text); dialogText.setText(getString(R.string.dialog_basic_auth_text, Utils.getUrl(this))); new AlertDialog.Builder(this) .setTitle(R.string.dialog_basic_auth_title) .setView(dialogView) .setNegativeButton(android.R.string.cancel, ((dialogInterface, i) -> loginFailed(FAILURE_REASON_GENERIC, null))) .setPositiveButton(R.string.dialog_basic_auth_button_login, (dialogInterface, i) -> { TextInputEditText dialogUsername = dialogView.findViewById(R.id.dialog_basic_auth_username); TextInputEditText dialogPassword = dialogView.findViewById(R.id.dialog_basic_auth_password); Utils.setBasicAuth(this, dialogUsername.getText().toString(), dialogPassword.getText().toString()); attemptLogin(); }) .setCancelable(false) .show(); return; } if (loginLayout == null) { addLoginLayout(); } loginLayout.showLoginError(reason, data); }
Example #21
Source File: AbiBigIntegerViewHolder.java From EosCommander with MIT License | 5 votes |
@Override protected View getItemView(LayoutInflater layoutInflater, ViewGroup parentView, String label ) { ViewGroup container = (ViewGroup)super.getItemView( layoutInflater, parentView, label); // add TYPE_NUMBER_FLAG_SIGNED when type is "signed int". TextInputEditText tie = container.findViewById( R.id.et_input); tie.setInputType( getTypeName().startsWith( TYPE_PREFIX_FOR_SIGNED ) ? ( InputType.TYPE_CLASS_NUMBER | TYPE_NUMBER_FLAG_SIGNED) : InputType.TYPE_CLASS_NUMBER ); return container; }
Example #22
Source File: AbiTimeInputViewHolder.java From EosCommander with MIT License | 5 votes |
private void dateSelected( View buttonView, Date date) { if ( null == date ) { return; } if ( buttonView.getTag() instanceof TextInputEditText ) { // http://en.wikipedia.org/wiki/ISO_860 ((TextInputEditText)buttonView.getTag()).setText( new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ss").format( date)); } }
Example #23
Source File: AbiIntegerViewHolder.java From EosCommander with MIT License | 5 votes |
@Override protected Long getItemValue(View itemView) { TextInputEditText tie = itemView.findViewById( R.id.et_input ); if ( tie == null ){ return 0L; } return Utils.parseLongSafely( tie.getText().toString(), 0); }
Example #24
Source File: AbiStringViewHolder.java From EosCommander with MIT License | 5 votes |
@Override protected String getItemValue(View itemView) { TextInputEditText tie = itemView.findViewById( R.id.et_input ); if ( tie != null ) { return tie.getText().toString(); } return ""; }
Example #25
Source File: ProductDialogCache.java From privacy-friendly-shopping-list with Apache License 2.0 | 4 votes |
public TextInputEditText getProductNotes() { return productNotes; }
Example #26
Source File: FireSignin.java From Learning-Resources with MIT License | 4 votes |
@Override protected void onCreate(Bundle savedInstanceState) { LayoutInflaterCompat.setFactory(getLayoutInflater(), new IconicsLayoutInflater(getDelegate())); FacebookSdk.sdkInitialize(getApplicationContext()); mCallbackManager = CallbackManager.Factory.create(); super.onCreate(savedInstanceState); setContentView(R.layout.lo_fire_signin); mCrdntrlyot = (CoordinatorLayout) findViewById(R.id.cordntrlyot_fireauth); mTxtinptlyotEmail = (TextInputLayout) findViewById(R.id.txtinputlyot_fireauth_email); mTxtinptlyotPaswrd = (TextInputLayout) findViewById(R.id.txtinputlyot_fireauth_password); mTxtinptEtEmail = (TextInputEditText) findViewById(R.id.txtinptet_fireauth_email); mTxtinptEtPaswrd = (TextInputEditText) findViewById(R.id.txtinptet_fireauth_password); mAppcmptbtnSignup = (AppCompatButton) findViewById(R.id.appcmptbtn_fireauth_signin); mTvFrgtPaswrd = (TextView) findViewById(R.id.tv_fireauth_frgtpaswrd); mImgvwFirebase = (ImageView) findViewById(R.id.imgvw_fireauth_firebase); mImgvwGp = (ImageView) findViewById(R.id.imgvw_fireauth_social_gp); mImgvwFb = (ImageView) findViewById(R.id.imgvw_fireauth_social_fb); mPrgrsbrMain = (ProgressBar) findViewById(R.id.prgrsbr_fireauth); mFireAuth = FirebaseAuth.getInstance(); mFireDB = FirebaseDatabase.getInstance(); FirebaseAuth.getInstance().signOut(); GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(getString(R.string.default_web_client_id)) .requestEmail() .build(); mGoogleApiClient = new GoogleApiClient.Builder(this) .enableAutoManage(this /* FragmentActivity */, this /* OnConnectionFailedListener */) .addApi(Auth.GOOGLE_SIGN_IN_API, gso) .build(); mAppcmptbtnSignup.setOnClickListener(this); mTvFrgtPaswrd.setOnClickListener(this); mImgvwFirebase.setOnClickListener(this); mImgvwGp.setOnClickListener(this); mImgvwFb.setOnClickListener(this); }
Example #27
Source File: ListDialogCache.java From privacy-friendly-shopping-list with Apache License 2.0 | 4 votes |
public TextInputEditText getListNameText() { return listNameText; }
Example #28
Source File: ListDialogCache.java From privacy-friendly-shopping-list with Apache License 2.0 | 4 votes |
public TextInputEditText getListNotes() { return listNotes; }
Example #29
Source File: ListDialogCache.java From privacy-friendly-shopping-list with Apache License 2.0 | 4 votes |
public TextInputEditText getReminderText() { return reminderText; }
Example #30
Source File: DesignDSL.java From anvil with MIT License | 4 votes |
public static BaseDSL.ViewClassResult textInputEditText() { return BaseDSL.v(TextInputEditText.class); }