android: Switch to AppCompat/Material theme for dialogs
authorTobias Brunner <tobias@strongswan.org>
Fri, 15 Apr 2016 15:36:31 +0000 (17:36 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 27 Apr 2016 12:24:25 +0000 (14:24 +0200)
commit77c1c28d74060093d03c6920ebe2d8e0061baf54
tree785fcb47c01ee2419f3e877bf2ca677cf97b9128
parent6b31828269b554a67e9188f4e7878bf9494972a7
android: Switch to AppCompat/Material theme for dialogs

There is no AppCompatProgressDialog class as the use of ProgressDialog
is discouraged (instead progress bars should be placed in the layout directly).
To display the current ProgressDialog instances correctly on systems < 21 we
modify the window background color.
src/frontends/android/app/src/main/AndroidManifest.xml
src/frontends/android/app/src/main/java/org/strongswan/android/ui/CertificateDeleteConfirmationDialog.java
src/frontends/android/app/src/main/java/org/strongswan/android/ui/MainActivity.java
src/frontends/android/app/src/main/java/org/strongswan/android/ui/TrustedCertificateImportActivity.java
src/frontends/android/app/src/main/java/org/strongswan/android/ui/TrustedCertificatesActivity.java
src/frontends/android/app/src/main/java/org/strongswan/android/ui/VpnProfileDetailActivity.java
src/frontends/android/app/src/main/java/org/strongswan/android/ui/VpnStateFragment.java
src/frontends/android/app/src/main/res/values-v15/styles.xml [new file with mode: 0644]
src/frontends/android/app/src/main/res/values-v21/styles.xml [new file with mode: 0644]
src/frontends/android/app/src/main/res/values/styles.xml