event rounded corners

This commit is contained in:
rjain90 2019-05-09 15:50:54 +05:30
parent cee4ceacca
commit c8b7f04c2d
3 changed files with 15 additions and 13 deletions

View File

@ -4,9 +4,9 @@ apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'de.timfreiheit.resourceplaceholders'
def keystorePropertiesFile = rootProject.file("keystore.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
//def keystorePropertiesFile = rootProject.file("keystore.properties")
//def keystoreProperties = new Properties()
//keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
android {
compileSdkVersion 28
@ -22,14 +22,14 @@ android {
setProperty("archivesBaseName", "calendar")
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
// signingConfigs {
// release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']
// }
// }
buildTypes {
debug {
@ -38,7 +38,7 @@ android {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
// signingConfig signingConfigs.release
}
}

View File

@ -68,4 +68,6 @@ open class SimpleActivity : BaseSimpleActivity() {
private fun unregisterObserver() {
contentResolver.unregisterContentObserver(calDAVSyncObserver)
}
}

View File

@ -27,7 +27,7 @@ import org.joda.time.Days
// used in the Monthly view fragment, 1 view per screen
class MonthView(context: Context, attrs: AttributeSet, defStyle: Int) : View(context, attrs, defStyle) {
private val BG_CORNER_RADIUS = 4f
private val BG_CORNER_RADIUS = 8f
private val ROW_COUNT = 6
private var paint: Paint