Use APKPure App
Get DayViewDemo old version APK for Android
Perpustakaan ini menunjukkan hari tertentu dalam tampilan papan kalender.
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" />
Last updated on Jul 8, 2017
Minor bug fixes and improvements. Install or update to the newest version to check it out!
Diunggah oleh
Wahab Shakir
Perlu Android versi
Android 4.1+
Kategori
Laporkan
DayViewDemo
1.0 by Digital Zombie Lab
Jul 8, 2017