adding kotlin license

This commit is contained in:
tibbi 2016-11-20 18:22:06 +01:00
parent 701fb8f0e9
commit 7115330e97
9 changed files with 26 additions and 0 deletions

View File

@ -11,6 +11,8 @@ class LicenseActivity : SimpleActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_license)
license_kotlin_title.setOnClickListener { openUrl(R.string.kotlin_url) }
license_multiselect_title.setOnClickListener { openUrl(R.string.multiselect_url) }
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
license_fileproperties_title.setOnClickListener { openUrl(R.string.fileproperties_url) }

View File

@ -13,10 +13,25 @@
android:padding="@dimen/activity_margin">
<TextView
android:id="@+id/license_notice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/notice"/>
<TextView
android:id="@+id/license_kotlin_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/kotlin_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_kotlin_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/kotlin_text"/>
<TextView
android:id="@+id/license_multiselect_title"
android:layout_width="match_parent"

View File

@ -67,6 +67,7 @@
<!-- License -->
<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="kotlin_title"><u>Kotlin (Programmiersprache)</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="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>

View File

@ -67,6 +67,7 @@
<!-- 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="third_party_licences">Licencias de terceros</string>
<string name="kotlin_title"><u>Kotlin (Lenguaje de programación)</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="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>

View File

@ -67,6 +67,7 @@
<!-- License -->
<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="kotlin_title"><u>Kotlin (programming language)</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="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>

View File

@ -67,6 +67,7 @@
<!-- License -->
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
<string name="third_party_licences">サードパーティー ライセンス</string>
<string name="kotlin_title"><u>Kotlin (プログラミング言語)</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="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>

View File

@ -67,6 +67,7 @@
<!-- License -->
<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="kotlin_title"><u>Kotlin (linguagem de programação)</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="fileproperties_title"><u>Simple File Properties (diálogo de propriedades)</u></string>

View File

@ -67,6 +67,7 @@
<!-- License -->
<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="kotlin_title"><u>Kotlin (programming language)</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="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>

View File

@ -68,6 +68,9 @@
<!-- License -->
<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="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="kotlin_text" translatable="false">Copyright 2010 - 2016 JetBrains s.r.o.\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="kotlin_url" translatable="false">https://github.com/JetBrains/kotlin</string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (selecting multiple list items)</u></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="multiselect_url" translatable="false">https://github.com/bignerdranch/recyclerview-multiselect</string>