add Filepicker

This commit is contained in:
tibbi 2016-11-21 20:38:18 +01:00
parent e025a27c57
commit 2567680dac
10 changed files with 26 additions and 0 deletions

View File

@ -36,6 +36,8 @@ dependencies {
compile 'com.github.yukuku:ambilwarna:2.0.1'
compile 'com.android.support:design:23.4.0'
compile 'com.facebook.stetho:stetho:1.4.1'
compile 'com.simplemobiletools:filepicker:1.5.1@aar'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

View File

@ -14,6 +14,7 @@ class LicenseActivity : SimpleActivity() {
license_kotlin_title.setOnClickListener { openUrl(R.string.kotlin_url) }
license_ambilwarna_title.setOnClickListener { openUrl(R.string.ambilwarna_url) }
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
license_stetho_title.setOnClickListener { openUrl(R.string.stetho_url) }
}

View File

@ -60,5 +60,19 @@
android:layout_height="wrap_content"
android:text="@string/stetho_text"/>
<TextView
android:id="@+id/license_filepicker_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/filepicker_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_filepicker_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/filepicker_text"/>
</LinearLayout>
</ScrollView>

View File

@ -49,5 +49,6 @@
<string name="kotlin_title"><u>Kotlin (Programmiersprache)</u></string>
<string name="ambilwarna_title"><u>AmbilWarna (Color Picker)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -49,5 +49,6 @@
<string name="kotlin_title"><u>Kotlin (Lenguaje de programación)</u></string>
<string name="ambilwarna_title"><u>AmbilWarna (Selector de colores)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -49,5 +49,6 @@
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -49,5 +49,6 @@
<string name="kotlin_title"><u>Kotlin (プログラミング言語)</u></string>
<string name="ambilwarna_title"><u>AmbilWarna (カラー ピッカー)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -49,5 +49,6 @@
<string name="kotlin_title"><u>Kotlin (linguagem de programação)</u></string>
<string name="ambilwarna_title"><u>AmbilWarna (seletor de cores)</u></string>
<string name="stetho_title"><u>Stetho (depuração a bases de dados)</u></string>
<string name="filepicker_title"><u>Simple File Picker (diálogo de seleção de ficheiros)</u></string>
</resources>

View File

@ -49,5 +49,6 @@
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -56,5 +56,8 @@
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="stetho_text" translatable="false">BSD License\n\nFor Stetho software\n\nCopyright (c) 2015, Facebook, Inc. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n * Neither the name Facebook nor the names of its contributors may be used to\n endorse or promote products derived from this software without specific\n prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</string>
<string name="stetho_url" translatable="false">https://github.com/facebook/stetho</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_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Picker</string>
</resources>