텍스트 필드

textField.isUserInteractionEnabled = false


텍스트 뷰

textView.isUserInteractionEnabled = false

'swift' 카테고리의 다른 글

UiTextField only english  (0) 2018.03.21
UiButton 이벤트 적용  (0) 2018.03.21
UITextview 스크롤 최상위 부터 보기  (0) 2018.03.21
textField border style none, textField font 크기 변경  (0) 2018.03.13
네비게이션 바 색상 변경  (0) 2018.03.13

navigationController?.navigationBar.barTintColor = UIColor.Red

'swift' 카테고리의 다른 글

UiTextField only english  (0) 2018.03.21
UiButton 이벤트 적용  (0) 2018.03.21
UITextview 스크롤 최상위 부터 보기  (0) 2018.03.21
textField border style none, textField font 크기 변경  (0) 2018.03.13
textField, textView  (0) 2018.03.13


public static Bitmap getBitmapFromVectorDrawable(Context context, int drawableId) {
Drawable drawable = ContextCompat.getDrawable(context, drawableId);
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
drawable = (DrawableCompat.wrap(drawable)).mutate();
}

Bitmap bitmap = Bitmap.createBitmap(drawable.getIntrinsicWidth(),
drawable.getIntrinsicHeight(), Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(bitmap);
drawable.setBounds(0, 0, canvas.getWidth(), canvas.getHeight());
drawable.draw(canvas);

return bitmap;
}


'android' 카테고리의 다른 글

안드로이드 UI 라이브러리 모음  (0) 2019.03.05
setDisplayShowCustomEnabled 뒤로 가기 색상 변경  (0) 2018.10.30
pendingIntent Flag 옵션  (1) 2018.02.02
TextView 선택 복사  (0) 2018.01.19
비트맵 파일로 떨어트리기  (0) 2017.12.14

+ Recent posts