Update filepicker to the newest version and Fix for #343

pull/350/head
David 2016-08-03 18:36:46 -03:00
rodzic 40b08a593f
commit 3da032b7ee
4 zmienionych plików z 3 dodań i 8 usunięć

Wyświetl plik

@ -43,6 +43,6 @@ dependencies {
compile 'com.github.nirhart:parallaxscroll:1.0'
compile 'com.google.android.exoplayer:exoplayer:r1.5.5'
compile 'com.google.code.gson:gson:2.4'
compile 'com.nononsenseapps:filepicker:2.0.5'
compile 'com.nononsenseapps:filepicker:3.0.0'
testCompile 'junit:junit:4.12'
}

Wyświetl plik

@ -141,7 +141,7 @@
android:name="com.nononsenseapps.filepicker.FilePickerActivity"
android:label="@string/app_name"
android:theme="@style/FilePickerTheme"
android:launchMode="singleTask">
android:launchMode="singleTop">
</activity>
</application>

Wyświetl plik

@ -1,13 +1,8 @@
package org.schabi.newpipe;
import android.app.Activity;
import android.content.ClipData;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.preference.PreferenceActivity;
import android.support.annotation.LayoutRes;

Wyświetl plik

@ -50,7 +50,7 @@
<!-- You can also inherit from NNF_BaseTheme.Light -->
<style name="FilePickerTheme" parent="Theme.AppCompat.Light.NoActionBar">
<style name="FilePickerTheme" parent="NNF_BaseTheme.Light">
<!-- Set these to match your theme -->
<item name="colorPrimary">@color/light_youtube_primary_color</item>
<item name="colorPrimaryDark">@color/light_youtube_dark_color</item>