Simple email application for Android. Original source code: https://framagit.org/dystopia-project/simple-email
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.

43 lines
1.2 KiB

  1. diff --git a/build.gradle b/build.gradle
  2. index 9c93cd0..4625fc4 100644
  3. --- a/build.gradle
  4. +++ b/build.gradle
  5. @@ -1,9 +1,16 @@
  6. apply plugin: 'com.android.library'
  7. android {
  8. + compileSdkVersion 28
  9. +
  10. sourceSets.main {
  11. manifest.srcFile 'AndroidManifest.xml'
  12. java.srcDirs = ['src']
  13. res.srcDirs = ['res']
  14. }
  15. +
  16. + dependencies {
  17. + def androidx_version = "1.0.0-rc02"
  18. + implementation "androidx.appcompat:appcompat:$androidx_version"
  19. + }
  20. }
  21. diff --git a/src/com/android/colorpicker/ColorPickerDialog.java b/src/com/android/colorpicker/ColorPickerDialog.java
  22. index 0d24b49..aabc2d1 100644
  23. --- a/src/com/android/colorpicker/ColorPickerDialog.java
  24. +++ b/src/com/android/colorpicker/ColorPickerDialog.java
  25. @@ -17,14 +17,15 @@
  26. package com.android.colorpicker;
  27. import android.app.Activity;
  28. -import android.app.AlertDialog;
  29. import android.app.Dialog;
  30. -import android.app.DialogFragment;
  31. import android.os.Bundle;
  32. import android.view.LayoutInflater;
  33. import android.view.View;
  34. import android.widget.ProgressBar;
  35. +import androidx.appcompat.app.AlertDialog;
  36. +import androidx.fragment.app.DialogFragment;
  37. +
  38. import com.android.colorpicker.ColorPickerSwatch.OnColorSelectedListener;
  39. /**