Skip to content

Commit 70cb6da

Browse files
bug fixed
1 parent ff725cf commit 70cb6da

File tree

17 files changed

+70
-33
lines changed

17 files changed

+70
-33
lines changed

.idea/compiler.xml

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

.idea/gradle.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.

.idea/jarRepositories.xml

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

.idea/misc.xml

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

app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ dependencies {
2828
implementation fileTree(include: ['*.jar'], dir: 'libs')
2929
implementation 'androidx.appcompat:appcompat:1.1.0'
3030
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
31+
implementation 'com.google.android.material:material:1.3.0-alpha03'
3132
implementation project(':fastdialog')
3233
}

app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<resources>
22

33
<!-- Base application theme. -->
4-
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
4+
<style name="AppTheme" parent="@style/Theme.MaterialComponents.DayNight.NoActionBar">
55
<!-- Customize your theme here. -->
66
<item name="colorPrimary">@color/colorPrimary</item>
77
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.6.1'
10+
classpath 'com.android.tools.build:gradle:4.1.0'
1111

1212

1313
// NOTE: Do not place your application dependencies here; they belong

fastdialog/build.gradle

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ android {
3030
dependencies {
3131
implementation fileTree(dir: 'libs', include: ['*.jar'])
3232
//noinspection GradleCompatible
33-
implementation 'androidx.recyclerview:recyclerview:1.0.0'
34-
implementation "com.airbnb.android:lottie:2.7.0"
35-
implementation 'com.jakewharton:butterknife:10.1.0'
36-
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
33+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
34+
implementation "com.airbnb.android:lottie:3.4.0"
35+
implementation 'com.jakewharton:butterknife:10.2.1'
36+
annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
37+
implementation 'com.google.android.material:material:1.3.0-alpha03'
3738
implementation 'com.shawnlin:number-picker:2.4.8'
3839
}

fastdialog/src/main/java/karpuzoglu/enes/com/fastdialog/FastDialogBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,10 @@ private GradientDrawable getShape(){
179179
shape.setColor(ContextCompat.getColor(context,R.color.warning));
180180
shape.setStroke(3, ContextCompat.getColor(context,R.color.warning));
181181
}else{
182-
tvTitle.setBackgroundColor(ContextCompat.getColor(context,R.color.primary));
182+
tvTitle.setBackgroundColor(ContextCompat.getColor(context,R.color.colorPrimary));
183183
tvTitle.setText(context.getResources().getString(R.string.dialog));
184-
shape.setColor(ContextCompat.getColor(context,R.color.primary));
185-
shape.setStroke(3, ContextCompat.getColor(context,R.color.primary));
184+
shape.setColor(ContextCompat.getColor(context,R.color.colorPrimary));
185+
shape.setStroke(3, ContextCompat.getColor(context,R.color.colorPrimary));
186186
}
187187

188188
return shape;

fastdialog/src/main/res/layout/folder_dialog.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
android:layout_height="wrap_content"
99
android:padding="10dp"
1010
android:orientation="vertical"
11-
android:background="@color/primary"
11+
android:background="?colorPrimaryDark"
1212
>
1313
<androidx.recyclerview.widget.RecyclerView
1414
android:id="@+id/folder_recylerview"

0 commit comments

Comments
 (0)