RecyclerView를 이용할 때 각 항목들이 여백없이 붙게 된다 각 항목에 여백을 주고 싶다면 RecyclerView에 ItemDecoration을 추가해줘야 한다 myItemDecoration.java public class myItemDecoration extends RecyclerView.ItemDecoration { private final int padding = 5; // 여백을 5로 설정 @Override public void getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) { super.getItemOffsets(outRect, view, parent, state); outRect..

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0-alpha3] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.0-alpha3] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to..
https://www.acmicpc.net/problem/9375 이 문제의 경우 간단한 방법을 이용해서 조합을 구현하지 않아도 해결할 수 있는 문제입니다. 각 의상의 종류마다 n1, n2, n3, ...가지를 가지고 있다면 의상을 입지 않는 경우를 포함하여 경우의 수를 계산할 수 있습니다. $$_{n_{1}+1}C_{1}\times _{n_{2}+1}C_{1}\times _{n_{3}+1}C_{1}\times ...$$ 여기서 모든 종류의 의상을 입지 않는 경우 한 가지만 빼면 모든 경우의 수를 구할 수 있습니다. 따라서 코드로 구현해야할 식을 다음과 같습니다. $$(n_{1}+1)\times (n_{2}+1)\times (n_{3}+1)\times ... - 1$$ 파이썬 코드로 구현해보겠습니다. n..
- Total
- Today
- Yesterday
- 안드로이드 여백
- 파이어베이스
- Android Studio
- 에그타이머
- 레이아웃
- recyclrView
- layout
- Firebase
- calendarView
- androidx
- firestore
- 안드로이드
- activity
- android
- java
- 안드로이드 레이아웃
- 프래그먼트
- RecyclerView padding
- 액티비티
- RecyclerView 여백
- intent
- 스튜디오
- round border
- 뒤로가기
- 안드로이드 스튜디오
- Alfred
- eggtimer
- wrap_content
- 파이어스토어
- RecyclerView Swipe
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |