From 795ba89dc47a0f2945b483c47653f449f2cc904f Mon Sep 17 00:00:00 2001 From: Tobias Groza Date: Mon, 18 Sep 2017 14:29:43 +0200 Subject: [PATCH] Support dark theme in file picker (#699) --- app/build.gradle | 2 +- app/src/main/AndroidManifest.xml | 10 +++-- .../settings/DownloadSettingsFragment.java | 11 +++-- .../util/FilePickerActivityHelper.java | 17 ++++++++ app/src/main/res/values/styles.xml | 42 +++++++++++++++---- 5 files changed, 63 insertions(+), 19 deletions(-) create mode 100644 app/src/main/java/org/schabi/newpipe/util/FilePickerActivityHelper.java diff --git a/app/build.gradle b/app/build.gradle index 941dc72d7..beff3c83e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -62,7 +62,7 @@ dependencies { compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' compile 'de.hdodenhof:circleimageview:2.1.0' compile 'com.github.nirhart:parallaxscroll:1.0' - compile 'com.nononsenseapps:filepicker:3.0.0' + compile 'com.nononsenseapps:filepicker:3.0.1' compile 'com.google.android.exoplayer:exoplayer:r2.5.1' debugCompile 'com.facebook.stetho:stetho:1.5.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 826ae4f44..8ae994de7 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -88,10 +88,14 @@ + android:theme="@style/FilePickerThemeDark"> + + + + + @color/video_overlay_color - - - + + + + + + + + +