반응형 EditText7 깜빡이기 Button btnNotice = (Button)findViewById(R.id.btn_notice); Animation mAnimation = new AlphaAnimation(1, 0); mAnimation.setDuration(1000); mAnimation.setInterpolator(new LinearInterpolator()); mAnimation.setRepeatCount(Animation.INFINITE); mAnimation.setRepeatMode(Animation.REVERSE); //애니메이션 시작 btnNotice.startAnimation(mAnimation); btnNotice.setOnClickListener(new OnClickListener() { @Override pub.. 2019. 3. 19. edittext 에 null또는 공백체크 TextUtils.isEmpty(edittext) public static boolean isEmpty(@Nullable CharSequence str) { if (str == null || str.length() == 0) return true; else return false; } 2019. 3. 19. edittext 에 null또는 공백체크 TextUtils.isEmpty(edittext) public static boolean isEmpty(@Nullable CharSequence str) { isEmpty if (str == null || str.length() == 0) return true; else return false; } 2019. 3. 19. textview 현재 글자색 가져오기 textview.getCurrentTextColor() 2019. 3. 19. 이전 1 2 다음 반응형