add filepicker and fileproperties licenses
This commit is contained in:
parent
ea5e918ea4
commit
8b5d031e85
|
@ -12,6 +12,8 @@ class LicenseActivity : SimpleActivity() {
|
|||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_license)
|
||||
license_butterknife_title.setOnClickListener { openUrl(R.string.butterknife_url) }
|
||||
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
|
||||
license_fileproperties_title.setOnClickListener { openUrl(R.string.fileproperties_url) }
|
||||
}
|
||||
|
||||
private fun openUrl(id: Int) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ScrollView
|
||||
android:id="@+id/license_holder"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/license_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
@ -31,5 +31,32 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:text="@string/butterknife_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"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/license_fileproperties_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="@dimen/activity_margin"
|
||||
android:text="@string/fileproperties_title"
|
||||
android:textColor="@color/colorPrimary"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/license_fileproperties_text"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/fileproperties_text"/>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
<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="butterknife_title"><u>Butter Knife (View Injector)</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>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="settings">Einstellungen</string>
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
<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="butterknife_title"><u>Butter Knife (view injector)</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>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="settings">Impostazioni</string>
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
|
||||
<string name="third_party_licences">サードパーティー ライセンス</string>
|
||||
<string name="butterknife_title"><u>Butter Knife (ビュー インジェクター)</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>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="settings">設定</string>
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
<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="butterknife_title"><u>Butter Knife (injetor de vistas)</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>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="settings">Definições</string>
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
<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="butterknife_title"><u>Butter Knife (view injector)</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>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="settings">Settings</string>
|
||||
|
|
|
@ -71,6 +71,12 @@
|
|||
<string name="butterknife_title"><u>Butter Knife (view injector)</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="butterknife_url" translatable="false">https://github.com/JakeWharton/butterknife</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>
|
||||
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
|
||||
<string name="fileproperties_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="fileproperties_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Properties</string>
|
||||
|
||||
<!-- Settings -->
|
||||
<string name="settings">Settings</string>
|
||||
|
|
Loading…
Reference in New Issue