Skip to content

Commit 1d27d24

Browse files
author
Shrikanth Ravi
authored
Merge branch 'master' into master
2 parents eba2020 + 0ca773c commit 1d27d24

File tree

21 files changed

+277
-53
lines changed

21 files changed

+277
-53
lines changed
-45 Bytes
Binary file not shown.

.idea/misc.xml

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ISSUE_TEMPLATE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Issue title
2+
### Expected behavior and actual behavior:
3+
### Steps to reproduce the problem:
4+
### Specifications (like the version of the project, operating system, or hardware):
5+
### Screenshots:

app/build.gradle

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ apply plugin: 'com.android.application'
22

33

44
android {
5-
compileSdkVersion 27
5+
compileSdkVersion 28
66
defaultConfig {
77
applicationId "com.shrikanthravi.collapsiblecalendarview"
88
minSdkVersion 21
9-
targetSdkVersion 27
9+
targetSdkVersion 28
1010
versionCode 1
1111
versionName "1.0"
12-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
12+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
}
1414
dexOptions {
1515
preDexLibraries = false
@@ -20,14 +20,19 @@ android {
2020
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2121
}
2222
}
23+
compileOptions {
24+
sourceCompatibility = '1.8'
25+
targetCompatibility = '1.8'
26+
}
27+
buildToolsVersion = '28.0.2'
2328
}
2429

2530
dependencies {
2631
implementation fileTree(dir: 'libs', include: ['*.jar'])
2732
implementation 'com.android.support:appcompat-v7:27.1.1'
2833
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
2934
testImplementation 'junit:junit:4.12'
30-
androidTestImplementation 'com.android.support.test:runner:1.0.1'
31-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
35+
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
36+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
3237
implementation project(':collapsiblecalendarview2')
3338
}

app/src/androidTest/java/com/shrikanthravi/collapsiblecalendarview/ExampleInstrumentedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.shrikanthravi.collapsiblecalendarview;
22

33
import android.content.Context;
4-
import android.support.test.InstrumentationRegistry;
5-
import android.support.test.runner.AndroidJUnit4;
4+
import androidx.test.InstrumentationRegistry;
5+
import androidx.test.runner.AndroidJUnit4;
66

77
import org.junit.Test;
88
import org.junit.runner.RunWith;

app/src/main/java/com/shrikanthravi/collapsiblecalendarview/MainActivity.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
package com.shrikanthravi.collapsiblecalendarview;
22

33
import android.graphics.Color;
4-
import android.support.v7.app.AppCompatActivity;
4+
import androidx.appcompat.app.AppCompatActivity;
55
import android.os.Bundle;
66
import android.view.View;
77

88
import com.shrikanthravi.collapsiblecalendarview.widget.CollapsibleCalendar;
9-
import com.shrikanthravi.collapsiblecalendarview.widget.UICalendar;
109

1110
import java.util.Calendar;
12-
import java.util.Date;
1311
import java.util.GregorianCalendar;
1412

1513

app/src/main/res/layout/activity_main.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
app:buttonRight_drawableTintColor="@android:color/white"
2020
app:expandIconColor="@android:color/white"
2121
app:eventColor="@android:color/white"
22+
app:eventDotSize="small"
2223
></com.shrikanthravi.collapsiblecalendarview.widget.CollapsibleCalendar>
2324
</RelativeLayout>

collapsiblecalendarview2/build.gradle

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ apply plugin: 'com.github.dcendents.android-maven'
33
group = 'com.github.shrikanth7698'
44

55
android {
6-
compileSdkVersion 27
6+
compileSdkVersion 28
77

88
defaultConfig {
99
minSdkVersion 15
10-
targetSdkVersion 27
10+
targetSdkVersion 28
1111
versionCode 1
1212
versionName "1.0"
1313

14-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
14+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1515

1616
}
1717
dexOptions {
@@ -24,13 +24,23 @@ android {
2424
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
2525
}
2626
}
27+
28+
compileOptions {
29+
sourceCompatibility = '1.8'
30+
targetCompatibility = '1.8'
31+
}
32+
buildToolsVersion = '28.0.2'
33+
34+
2735
}
2836

2937
dependencies {
3038
implementation fileTree(dir: 'libs', include: ['*.jar'])
3139

3240
implementation 'com.android.support:appcompat-v7:27.1.1'
41+
3342
testImplementation 'junit:junit:4.12'
34-
androidTestImplementation 'com.android.support.test:runner:1.0.1'
35-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
43+
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
44+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
45+
implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
3646
}

collapsiblecalendarview2/src/androidTest/java/com/shrikanthravi/collapsiblecalendarview/ExampleInstrumentedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package com.shrikanthravi.collapsiblecalendarview;
22

33
import android.content.Context;
4-
import android.support.test.InstrumentationRegistry;
5-
import android.support.test.runner.AndroidJUnit4;
4+
import androidx.test.InstrumentationRegistry;
5+
import androidx.test.runner.AndroidJUnit4;
66

77
import org.junit.Test;
88
import org.junit.runner.RunWith;

0 commit comments

Comments
 (0)