기술
This simple Kotlin library can show specific date in calendar board view, in the correct format, according to user's language settings. The view is flexible, that means it
can be fat or thin - controlled easily through API.
https://github.com/migellal/DayView
Examples:
Java
DayView dayView = (DayView) findViewById(R.id.dayView);
dayView.setBarColor(ContextCompat.getColor(this, R.color.colorPrimary));
dayView.setBorderColor(ContextCompat.getColor(this, R.color.colorPrimary));
dayView.setCardBackgroundColor(Color.WHITE);
dayView.setTextColor(Color.BLACK);
dayView.setDate(new Date(2017, 10, 15));
Kotlin
val dayView = findViewById(R.id.dayView) as DayView
dayView.barColor = ContextCompat.getColor(this, R.color.colorPrimary)
dayView.borderColor = ContextCompat.getColor(this, R.color.colorPrimary)
dayView.cardBackgroundColor = Color.WHITE
dayView.textColor = Color.BLACK
dayView.date = Date(year, month, day)
XML
android:id="@+id/dayView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:barColor="@color/colorPrimary"
app:borderColor="@color/colorPrimary"
app:cardBackgroundColor="@android:color/white"
app:textColor="@android:color/black" />
이전 버전
- 09/27/2022: DayViewDemo 1.0
- Report a new version
Free Download
QR 코드에 의해 다운로드
- 앱 이름: DayViewDemo
- 종류: 라이브러리 및 데모
- 앱코드: pl.digitalzombielab.dayviewdemo
- 버전: 1.0
- 요구 사항: 4.1이상
- 파일 크기 : 2.39 MB
- 업데이트: 2022-09-27