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..
![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/bQvXPC/btqu0VbI1PG/sKtzkDXoqsDlzPrco2m21k/img.png)
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
- round border
- wrap_content
- androidx
- intent
- RecyclerView Swipe
- 스튜디오
- Alfred
- 에그타이머
- 파이어스토어
- firestore
- RecyclerView 여백
- layout
- eggtimer
- 레이아웃
- 안드로이드 여백
- 액티비티
- 안드로이드
- 뒤로가기
- Android Studio
- calendarView
- recyclrView
- RecyclerView padding
- activity
- android
- 프래그먼트
- 파이어베이스
- 안드로이드 레이아웃
- java
- 안드로이드 스튜디오
- Firebase
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |