remoing the License activity

This commit is contained in:
tibbi 2017-03-10 22:59:51 +01:00
parent 6497dd1a16
commit 937fdc10f3
13 changed files with 2 additions and 213 deletions

View file

@ -24,9 +24,9 @@
android:parentActivityName=".activities.MainActivity"/>
<activity
android:name=".activities.LicenseActivity"
android:name="com.simplemobiletools.commons.activities.LicenseActivity"
android:label="@string/third_party_licences"
android:parentActivityName=".activities.AboutActivity"/>
android:parentActivityName="com.simplemobiletools.commons.activities.AboutActivity"/>
<activity
android:name=".activities.SettingsActivity"

View file

@ -1,26 +0,0 @@
package com.simplemobiletools.filemanager.activities
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import com.simplemobiletools.filemanager.R
import kotlinx.android.synthetic.main.activity_license.*
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) }
}
private fun openUrl(id: Int) {
val url = resources.getString(id)
val browserIntent = Intent(Intent.ACTION_VIEW, Uri.parse(url))
startActivity(browserIntent)
}
}

View file

@ -1,77 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/license_holder"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/license"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
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"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/multiselect_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_multiselect_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/multiselect_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>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Remove from favorites</string>
<!-- Settings -->
<string name="settings">Einstellungen</string>
<string name="dark_theme">Dunkles Design</string>
<string name="show_hidden">Zeige versteckte Dateien und Ordner</string>
<!-- 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>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">A simple file manager for browsing and editing files and directories.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Remove from favorites</string>
<!-- Settings -->
<string name="settings">Opciones</string>
<string name="dark_theme">Tema oscuro</string>
<string name="show_hidden">Mostrar ficheros y directorios ocultos</string>
<!-- 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>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Un simple administrador de archivos para navegar por el árbol de directorios.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Enlever des favoris</string>
<!-- Settings -->
<string name="settings">Paramètres</string>
<string name="dark_theme">Thème sombre</string>
<string name="show_hidden">Montrer les fichiers et dossiers cachés</string>
<!-- Licence -->
<string name="notice">Cette app utilise les bibliothèques tierces suivantes pour se simplifier la vie. Merci.</string>
<string name="third_party_licences">Licences tierces</string>
<string name="kotlin_title"><u>Kotlin (langage de programmation)</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>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Un gestionnaire de fichiers simple pour naviguer et éditer ses fichiers et dossiers.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Remove from favorites</string>
<!-- Settings -->
<string name="settings">Impostazioni</string>
<string name="dark_theme">Tema scuro</string>
<string name="show_hidden">Mostra file e cartelle nascosti</string>
<!-- 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 (linguaggio di programmazione)</u></string>
<string name="multiselect_title"><u>RecyclerView MultiSelect (selezione elementi multipli da liste)</u></string>
<string name="filepicker_title"><u>Simple File Picker (finestra di selezione file)</u></string>
<string name="fileproperties_title"><u>Simple File Properties (finestra di proprietà)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Un semplice file manager per sfogliare e modificare file e cartelle.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Remove from favorites</string>
<!-- Settings -->
<string name="settings">設定</string>
<string name="dark_theme">ダークテーマ</string>
<string name="show_hidden">非表示のファイルとディレクトリーを表示する</string>
<!-- 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 (リストアイテム複数選択)</u></string>
<string name="filepicker_title"><u>Simple File Picker (ファイルピッカー ダイアログ)</u></string>
<string name="fileproperties_title"><u>Simple File Properties (プロパティ ダイアログ)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">ファイルとディレクトリーを参照、編集するためのシンプルなファイルマネージャー。</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Remover dos favoritos</string>
<!-- Settings -->
<string name="settings">Definições</string>
<string name="dark_theme">Tema escuro</string>
<string name="show_hidden">Mostrar ficheiros e pastas ocultos</string>
<!-- 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 (seleção múltipla de itens)</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>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Um gestor de ficheiros para explorar e editar os ficheiros e diretórios.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Убрать из избранного</string>
<!-- Settings -->
<string name="settings">Настройки</string>
<string name="dark_theme">Темная тема</string>
<string name="show_hidden">Показать скрытые папки</string>
<!-- 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 (выбор нескольких элементов списка)</u></string>
<string name="filepicker_title"><u>Simple File Picker (диалог выбора файла)</u></string>
<string name="fileproperties_title"><u>Simple File Properties (диалог свойств файла)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Простой файловый менеджер для просмотра и редактирования файлов и папок.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Ta bort från favoriter</string>
<!-- Settings -->
<string name="settings">Inställningar</string>
<string name="dark_theme">Mörkt tema</string>
<string name="show_hidden">Visa dolda filer</string>
<!-- 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>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">En enkel filhanterare för att bläddra och redigera filer och kataloger.</string>

View file

@ -60,18 +60,8 @@
<string name="remove_from_favorites">Favorilerden kaldır</string>
<!-- Settings -->
<string name="settings">Ayarlar</string>
<string name="dark_theme">Koyu tema</string>
<string name="show_hidden">Gizli dosyaları ve dizinleri göster</string>
<!-- License -->
<string name="notice">Bu uygulama hayatımı kolaylaştırmak için aşağıdaki üçüncü parti kitaplıklarını kullanıyor. Teşekkür ederim.</string>
<string name="third_party_licences">Üçüncü taraf lisansları</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="multiselect_title"><u>Geri Dönüşümci Çoklu Seçim Görünümü (birden çok liste öğesi seçme)</u></string>
<string name="filepicker_title"><u>Basit Dosya Seçici (dosya seçici iletişim kutusu)</u></string>
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Dosyaları ve dizinleri tarama ve düzenlemek için kullanılan bir dosya gezgini.</string>

View file

@ -60,26 +60,8 @@
<string name="remove_from_favorites">Remove from favorites</string>
<!-- Settings -->
<string name="settings">Settings</string>
<string name="dark_theme">Dark theme</string>
<string name="show_hidden">Show hidden files and directories</string>
<!-- 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>
<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>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">A simple file manager for browsing and editing files and directories.</string>