From b853c9fd4c35452dbcc6c031e058b95785144dc3 Mon Sep 17 00:00:00 2001 From: Karim Abou Zeid Date: Thu, 21 Jan 2016 17:05:04 +0100 Subject: [PATCH] New fastscroller. Updated licenses. --- app/build.gradle | 10 ++++++++-- .../AbsMainActivityRecyclerViewFragment.java | 20 +++---------------- .../fragment_main_activity_recycler_view.xml | 11 +++------- app/src/main/res/raw/notices.xml | 18 +++++++++++++++++ 4 files changed, 32 insertions(+), 27 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0e7af612..8bbd149e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,8 +63,10 @@ android { renderscriptTargetApi 23 applicationId "com.kabouzeid.gramophone" - versionCode 91 - versionName "0.9.52" + versionCode 92 + versionName "invalid" + + manifestPlaceholders = [appName: "@string/app_name"] } buildTypes { release { @@ -74,6 +76,9 @@ android { signingConfig signingConfigs.release } debug { + applicationIdSuffix '.debug' + versionNameSuffix ' DEBUG' + manifestPlaceholders = [appName: "Phonograph DEBUG"] signingConfig signingConfigs.debug } } @@ -132,4 +137,5 @@ dependencies { compile 'de.psdev.licensesdialog:licensesdialog:1.8.0' compile 'com.github.kabouzeid:AppIntro:3.3.0k' compile 'com.github.bumptech.glide:glide:3.6.1' + compile 'com.github.kabouzeid:RecyclerView-FastScroll:v1.0-kmod' } diff --git a/app/src/main/java/com/kabouzeid/gramophone/ui/fragments/mainactivityfragments/AbsMainActivityRecyclerViewFragment.java b/app/src/main/java/com/kabouzeid/gramophone/ui/fragments/mainactivityfragments/AbsMainActivityRecyclerViewFragment.java index 40815921..a0a35a2f 100644 --- a/app/src/main/java/com/kabouzeid/gramophone/ui/fragments/mainactivityfragments/AbsMainActivityRecyclerViewFragment.java +++ b/app/src/main/java/com/kabouzeid/gramophone/ui/fragments/mainactivityfragments/AbsMainActivityRecyclerViewFragment.java @@ -15,7 +15,6 @@ import android.widget.TextView; import com.kabouzeid.gramophone.R; import com.kabouzeid.gramophone.interfaces.MusicServiceEventListener; -import com.kabouzeid.gramophone.views.FastScroller; import butterknife.Bind; import butterknife.ButterKnife; @@ -27,14 +26,13 @@ public abstract class AbsMainActivityRecyclerViewFragment - - - - \ No newline at end of file diff --git a/app/src/main/res/raw/notices.xml b/app/src/main/res/raw/notices.xml index 2943121e..1e9bd8ce 100644 --- a/app/src/main/res/raw/notices.xml +++ b/app/src/main/res/raw/notices.xml @@ -34,12 +34,30 @@ Copyright (C) 2015 The Android Open Source Project Apache Software License 2.0 + + Launcher 3 + https://android.googlesource.com/platform/packages/apps/Launcher3 + Copyright (C) 2010 The Android Open Source Project + Apache Software License 2.0 + + + RecyclerView-FastScroll + https://github.com/timusus/RecyclerView-FastScroll + Copyright (C) 2016 Tim Malseed + Apache Software License 2.0 + Android-ObservableScrollView https://github.com/ksoichiro/Android-ObservableScrollView Copyright 2014 Soichiro Kashima Apache Software License 2.0 + + Eleven + https://github.com/CyanogenMod/android_packages_apps_Eleven + Copyright (c) 2014, The CyanogenMod Project + Apache Software License 2.0 + Android Sliding Up Panel https://github.com/umano/AndroidSlidingUpPanel