From dbed65610b67e7b1cb9cf302c479bc839fc30b00 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Tue, 18 Aug 2015 22:09:53 +0200 Subject: [PATCH] fix for the progress bar on pre lollipop devices via manipulating windowFrame, windowBackground and windowTitleBackgroundStyle --- res/drawable/process_dialog_background.xml | 11 +++++++++++ res/values-v21/styles.xml | 23 ++++++++++++++++++++++ res/values/colors.xml | 1 + res/values/styles.xml | 7 +++++-- src/com/owncloud/android/ui/activity/Uploader.java | 12 ++++++++++- .../ui/dialog/IndeterminateProgressDialog.java | 14 +++++++++++-- 6 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 res/drawable/process_dialog_background.xml create mode 100644 res/values-v21/styles.xml diff --git a/res/drawable/process_dialog_background.xml b/res/drawable/process_dialog_background.xml new file mode 100644 index 00000000..9ba0b1e9 --- /dev/null +++ b/res/drawable/process_dialog_background.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/res/values-v21/styles.xml b/res/values-v21/styles.xml new file mode 100644 index 00000000..173136cc --- /dev/null +++ b/res/values-v21/styles.xml @@ -0,0 +1,23 @@ + + + + + \ No newline at end of file diff --git a/res/values/colors.xml b/res/values/colors.xml index 809e645b..8ca0a4e5 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -35,6 +35,7 @@ #757575 @color/owncloud_blue_accent #D6D7D7 + #00000000 @color/owncloud_blue_accent diff --git a/res/values/styles.xml b/res/values/styles.xml index b5b67c8b..54e52257 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -62,8 +62,11 @@