0. Kotlin Language Rules

Coding conventions | Kotlin

기본적으로 Kotlin Docs 에서 제공하는 Coding Convention을 따른다.

IDE에 적용하고 이를 지킬 수 있도록 코드 자동정렬을 자주 이용한다.

1. Android Resource Naming Rules

  1. <drawable> what_detail_more_and more ex) rectangle_border_5dp_color
  2. <view> view_*위치_*이름 혹은 설명 및 묘사 ex) tv_main_description ex) rv_detail_record constraintlayout은 cl로 view는 v로
  3. <string> 뷰 별로 String 생성
  4. <color> color_number ex) blue_343433