replace butterknife license with the BigNerdRanch multiselector
This commit is contained in:
parent
e6815ed959
commit
701fb8f0e9
|
@ -1,5 +1,4 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'android-apt'
|
|
||||||
apply plugin: 'kotlin-android'
|
apply plugin: 'kotlin-android'
|
||||||
apply plugin: 'kotlin-android-extensions'
|
apply plugin: 'kotlin-android-extensions'
|
||||||
|
|
||||||
|
@ -39,14 +38,11 @@ android {
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.android.support:appcompat-v7:23.4.0'
|
compile 'com.android.support:appcompat-v7:23.4.0'
|
||||||
compile 'com.android.support:design:23.4.0'
|
compile 'com.android.support:design:23.4.0'
|
||||||
compile 'com.jakewharton:butterknife:8.0.1'
|
|
||||||
compile 'com.github.bumptech.glide:glide:3.7.0'
|
compile 'com.github.bumptech.glide:glide:3.7.0'
|
||||||
compile 'com.simplemobiletools:filepicker:1.5.0@aar'
|
compile 'com.simplemobiletools:filepicker:1.5.0@aar'
|
||||||
compile 'com.simplemobiletools:fileproperties:1.0.5@aar'
|
compile 'com.simplemobiletools:fileproperties:1.0.5@aar'
|
||||||
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
||||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||||
|
|
||||||
apt 'com.jakewharton:butterknife-compiler:8.0.1'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
|
|
@ -11,7 +11,7 @@ class LicenseActivity : SimpleActivity() {
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
setContentView(R.layout.activity_license)
|
setContentView(R.layout.activity_license)
|
||||||
license_butterknife_title.setOnClickListener { openUrl(R.string.butterknife_url) }
|
license_multiselect_title.setOnClickListener { openUrl(R.string.multiselect_url) }
|
||||||
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
|
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
|
||||||
license_fileproperties_title.setOnClickListener { openUrl(R.string.fileproperties_url) }
|
license_fileproperties_title.setOnClickListener { openUrl(R.string.fileproperties_url) }
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,18 +18,18 @@
|
||||||
android:text="@string/notice"/>
|
android:text="@string/notice"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/license_butterknife_title"
|
android:id="@+id/license_multiselect_title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="@dimen/activity_margin"
|
android:paddingTop="@dimen/activity_margin"
|
||||||
android:text="@string/butterknife_title"
|
android:text="@string/multiselect_title"
|
||||||
android:textColor="@color/colorPrimary"/>
|
android:textColor="@color/colorPrimary"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/license_butterknife_text"
|
android:id="@+id/license_multiselect_text"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/butterknife_text"/>
|
android:text="@string/multiselect_text"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/license_filepicker_title"
|
android:id="@+id/license_filepicker_title"
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">Diese App nutzt die folgenden Drittanbieter Bibliotheken, die mir mein Leben einfacher machen. Vielen Dank.</string>
|
<string name="notice">Diese App nutzt die folgenden Drittanbieter Bibliotheken, die mir mein Leben einfacher machen. Vielen Dank.</string>
|
||||||
<string name="third_party_licences">Drittanbieter Lizenzen</string>
|
<string name="third_party_licences">Drittanbieter Lizenzen</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (View Injector)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
||||||
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">Esta aplicación usa las siguientes librerías de terceros para hacerme la vida más fácil. Gracias.</string>
|
<string name="notice">Esta aplicación usa las siguientes librerías de terceros para hacerme la vida más fácil. Gracias.</string>
|
||||||
<string name="third_party_licences">Licencias de terceros</string>
|
<string name="third_party_licences">Licencias de terceros</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
||||||
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">Questa app usa le seguenti librerie di terze parti per semplificarmi la vita. Grazie.</string>
|
<string name="notice">Questa app usa le seguenti librerie di terze parti per semplificarmi la vita. Grazie.</string>
|
||||||
<string name="third_party_licences">Licenze di terze parti</string>
|
<string name="third_party_licences">Licenze di terze parti</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
||||||
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
|
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
|
||||||
<string name="third_party_licences">サードパーティー ライセンス</string>
|
<string name="third_party_licences">サードパーティー ライセンス</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (ビュー インジェクター)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
||||||
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado.</string>
|
<string name="notice">Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado.</string>
|
||||||
<string name="third_party_licences">Licenças de terceiros</string>
|
<string name="third_party_licences">Licenças de terceiros</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (injetor de vistas)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (diálogo de seleção de ficheiros)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (diálogo de seleção de ficheiros)</u></string>
|
||||||
<string name="fileproperties_title"><u>Simple File Properties (diálogo de propriedades)</u></string>
|
<string name="fileproperties_title"><u>Simple File Properties (diálogo de propriedades)</u></string>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">Denna app använder följande tredjepartsbibliotek för att göra mitt liv enklare. Tack.</string>
|
<string name="notice">Denna app använder följande tredjepartsbibliotek för att göra mitt liv enklare. Tack.</string>
|
||||||
<string name="third_party_licences">Tredjepartslicenser</string>
|
<string name="third_party_licences">Tredjepartslicenser</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
||||||
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
||||||
|
|
||||||
|
|
|
@ -68,9 +68,9 @@
|
||||||
<!-- License -->
|
<!-- License -->
|
||||||
<string name="notice">This app uses the following third party libraries to make my life easier. Thank you.</string>
|
<string name="notice">This app uses the following third party libraries to make my life easier. Thank you.</string>
|
||||||
<string name="third_party_licences">Third party licences</string>
|
<string name="third_party_licences">Third party licences</string>
|
||||||
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
|
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></string>
|
||||||
<string name="butterknife_text" translatable="false">Copyright 2013 Jake Wharton\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.</string>
|
<string name="multiselect_text" translatable="false">The MIT License (MIT)\n\nCopyright (c) 2014 Big Nerd Ranch\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: \n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. \n\nTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
|
||||||
<string name="butterknife_url" translatable="false">https://github.com/JakeWharton/butterknife</string>
|
<string name="multiselect_url" translatable="false">https://github.com/bignerdranch/recyclerview-multiselect</string>
|
||||||
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
|
||||||
<string name="filepicker_text" translatable="false">Copyright 2016 SimpleMobileTools\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.</string>
|
<string name="filepicker_text" translatable="false">Copyright 2016 SimpleMobileTools\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License.</string>
|
||||||
<string name="filepicker_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Picker</string>
|
<string name="filepicker_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Picker</string>
|
||||||
|
|
|
@ -6,7 +6,6 @@ buildscript {
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||||
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
|
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
|
Loading…
Reference in New Issue