adding kotlin license

This commit is contained in:
tibbi 2016-11-20 18:29:54 +01:00
parent 811e9b19d5
commit 4261f38417
10 changed files with 27 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_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_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_filepicker_title"
android:layout_width="match_parent"

View File

@ -40,5 +40,6 @@
<!-- License -->
<string name="notice">Diese App nutzt die folgenden Drittanbieterbibliotheken, die mein Leben einfacher machen. Danke.</string>
<string name="third_party_licences">Drittanbieterlizenzen</string>
<string name="kotlin_title"><u>Kotlin (Programmiersprache)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -40,5 +40,6 @@
<!-- 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="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -40,5 +40,6 @@
<!-- License -->
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
<string name="third_party_licences">サードパーティー ライセンス</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -40,5 +40,6 @@
<!-- License -->
<string name="notice">Ši programėlė naudoja sekančias trečiųjų šyalių bibliotekas, kad palengvinti man gyvenimą. Ačiū.</string>
<string name="third_party_licences">Trečiųjų šalių licenzijos</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -40,5 +40,6 @@
<!-- 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="filepicker_title"><u>Simple File Picker (diálogo de seleção de ficheiros)</u></string>
</resources>

View File

@ -40,5 +40,6 @@
<!-- License -->
<string name="notice">Это приложение использует следующие сторонние библиотеки, что бы сделать мою жизнь проще. Спасибо.</string>
<string name="third_party_licences">Сторонние лицензии</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -40,5 +40,6 @@
<!-- 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="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
</resources>

View File

@ -41,6 +41,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="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>