mirror of https://github.com/M66B/FairEmail.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
6 years ago
|
diff --git a/build.gradle b/build.gradle
|
||
|
index 9c93cd0..4625fc4 100644
|
||
|
--- a/build.gradle
|
||
|
+++ b/build.gradle
|
||
|
@@ -1,9 +1,16 @@
|
||
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
android {
|
||
|
+ compileSdkVersion 28
|
||
|
+
|
||
|
sourceSets.main {
|
||
|
manifest.srcFile 'AndroidManifest.xml'
|
||
|
java.srcDirs = ['src']
|
||
|
res.srcDirs = ['res']
|
||
|
}
|
||
|
+
|
||
|
+ dependencies {
|
||
|
+ def androidx_version = "1.0.0-rc02"
|
||
|
+ implementation "androidx.appcompat:appcompat:$androidx_version"
|
||
|
+ }
|
||
|
}
|
||
|
diff --git a/src/com/android/colorpicker/ColorPickerDialog.java b/src/com/android/colorpicker/ColorPickerDialog.java
|
||
|
index 0d24b49..aabc2d1 100644
|
||
|
--- a/src/com/android/colorpicker/ColorPickerDialog.java
|
||
|
+++ b/src/com/android/colorpicker/ColorPickerDialog.java
|
||
|
@@ -17,14 +17,15 @@
|
||
|
package com.android.colorpicker;
|
||
|
|
||
|
import android.app.Activity;
|
||
|
-import android.app.AlertDialog;
|
||
|
import android.app.Dialog;
|
||
|
-import android.app.DialogFragment;
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.widget.ProgressBar;
|
||
|
|
||
|
+import androidx.appcompat.app.AlertDialog;
|
||
|
+import androidx.fragment.app.DialogFragment;
|
||
|
+
|
||
|
import com.android.colorpicker.ColorPickerSwatch.OnColorSelectedListener;
|
||
|
|
||
|
/**
|