그냥 누르기만 하세요.정말 사용 하기 쉽습니다. 첫 화면만 사용해도 충분 합니다!(좀 더 고급 설정을 사용 하시려면 좌측 상단의 설정 버튼 또는 하단의 고급 설정을 누르시면 됩니다.) 1. 파란 점선 사각형- 기본 문장 설정 창을 띄웁니다. 2. 빨간 점선 사각형- 사용하는 시간을 변경 할 수 있는 창을 띄웁니다. 3. 노란 점선 사각형- 시간별로 다른 문장 / 음악을 설정 할 수 있는 창을 띄웁니다. 4. 녹색 점선 사각형- 정각 분(0 ~ 59분)을 바꿀 수 있는 창을 띄웁니다. 5. 보라색 점선 사각형- 간격(1 ~ 50분)을 설정 할수 있는 창을 띄웁니다. 아래는 코모의 새로운 앱이에요(19/07/01출시) 일상 카운터 - 기록, 계수기, 일기구글플레이에서 무료 다운로드https://play.go..
Just click the area. 1. Blue dot rectangle- will show the Default text dialog for editing. 2. Red dot rectangle- will show the Active hours dialog for editing. 3. Yellow dot rectangle- will show the Hourly text dialog for editing. 4. Green dot rectangle- will show the On Time Set dialog for editing. 5. Purple dot rectangle- will show the Interval dialog for editing. Then you can edit time / text..
아주 간단하다.아래 처럼 넣어 주면, 색깔까지 완벽하게! DividerItemDecoration dividerItemDecoration = new DividerItemDecoration(mContext,LinearLayoutManager.VERTICAL); dividerItemDecoration.setDrawable(mContext.getResources().getDrawable(R.drawable.recyclerview_divider)); mRecyclerView.addItemDecoration(dividerItemDecoration);아래는 recyclerview_divider.xml
color/a.xml ColorStateList colorStateList = null; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M) { colorStateList = context.getResources().getColorStateList(R.color.a, context.getTheme()); } else { colorStateList = context.getResources().getColorStateList(R.color.a); } textView.setTextColor(colorStateList) 요렇게 하면, 간단하게 컬러 리스트를 동적으로(programmatically) 적용 할 수 있다.
브로드 캐스트 리시버 에서는 10 초 이내에 모든 작업을 완료 해야함. 그렇지 않으면 시스템이 죽여 버리거나, ANR을 발생 시킨다. 1. onReceive 에서 최대한 간결하게 코드를 처리 한다.1.1 다른 서비스로 리턴 시킨다.1.2 또는 goAsync()를 사용 하여 타임아웃을 연장 한다. 아래는 구글의 설명이다. /** * This can be called by an application in {@link #onReceive} to allow * it to keep the broadcast active after returning from that function. * This does not change the expectation of being relatively * responsive to..