Skip to content

Commit 8b5d031

Browse files
committed
add filepicker and fileproperties licenses
1 parent ea5e918 commit 8b5d031

File tree

8 files changed

+46
-1
lines changed

8 files changed

+46
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/activities/LicenseActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class LicenseActivity : SimpleActivity() {
1212
super.onCreate(savedInstanceState)
1313
setContentView(R.layout.activity_license)
1414
license_butterknife_title.setOnClickListener { openUrl(R.string.butterknife_url) }
15+
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
16+
license_fileproperties_title.setOnClickListener { openUrl(R.string.fileproperties_url) }
1517
}
1618

1719
private fun openUrl(id: Int) {

app/src/main/res/layout/activity_license.xml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<ScrollView
3-
android:id="@+id/license_holder"
43
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:id="@+id/license_holder"
55
android:layout_width="match_parent"
66
android:layout_height="match_parent">
77

@@ -31,5 +31,32 @@
3131
android:layout_height="wrap_content"
3232
android:text="@string/butterknife_text"/>
3333

34+
<TextView
35+
android:id="@+id/license_filepicker_title"
36+
android:layout_width="match_parent"
37+
android:layout_height="wrap_content"
38+
android:paddingTop="@dimen/activity_margin"
39+
android:text="@string/filepicker_title"
40+
android:textColor="@color/colorPrimary"/>
41+
42+
<TextView
43+
android:id="@+id/license_filepicker_text"
44+
android:layout_width="wrap_content"
45+
android:layout_height="wrap_content"
46+
android:text="@string/filepicker_text"/>
47+
48+
<TextView
49+
android:id="@+id/license_fileproperties_title"
50+
android:layout_width="match_parent"
51+
android:layout_height="wrap_content"
52+
android:paddingTop="@dimen/activity_margin"
53+
android:text="@string/fileproperties_title"
54+
android:textColor="@color/colorPrimary"/>
55+
56+
<TextView
57+
android:id="@+id/license_fileproperties_text"
58+
android:layout_width="wrap_content"
59+
android:layout_height="wrap_content"
60+
android:text="@string/fileproperties_text"/>
3461
</LinearLayout>
3562
</ScrollView>

app/src/main/res/values-de/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<string name="notice">Diese App nutzt die folgenden Drittanbieter Bibliotheken, die mir mein Leben einfacher machen. Vielen Dank.</string>
6969
<string name="third_party_licences">Drittanbieter Lizenzen</string>
7070
<string name="butterknife_title"><u>Butter Knife (View Injector)</u></string>
71+
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
72+
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
7173

7274
<!-- Settings -->
7375
<string name="settings">Einstellungen</string>

app/src/main/res/values-it/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<string name="notice">Questa app usa le seguenti librerie di terze parti per semplificarmi la vita. Grazie.</string>
6969
<string name="third_party_licences">Licenze di terze parti</string>
7070
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
71+
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
72+
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
7173

7274
<!-- Settings -->
7375
<string name="settings">Impostazioni</string>

app/src/main/res/values-ja/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
6969
<string name="third_party_licences">サードパーティー ライセンス</string>
7070
<string name="butterknife_title"><u>Butter Knife (ビュー インジェクター)</u></string>
71+
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
72+
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
7173

7274
<!-- Settings -->
7375
<string name="settings">設定</string>

app/src/main/res/values-pt-rPT/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<string name="notice">Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado.</string>
6969
<string name="third_party_licences">Licenças de terceiros</string>
7070
<string name="butterknife_title"><u>Butter Knife (injetor de vistas)</u></string>
71+
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
72+
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
7173

7274
<!-- Settings -->
7375
<string name="settings">Definições</string>

app/src/main/res/values-sv/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@
6868
<string name="notice">Denna app använder följande tredjepartsbibliotek för att göra mitt liv enklare. Tack.</string>
6969
<string name="third_party_licences">Tredjepartslicenser</string>
7070
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
71+
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
72+
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
7173

7274
<!-- Settings -->
7375
<string name="settings">Settings</string>

app/src/main/res/values/strings.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@
7171
<string name="butterknife_title"><u>Butter Knife (view injector)</u></string>
7272
<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>
7373
<string name="butterknife_url" translatable="false">https://github.com/JakeWharton/butterknife</string>
74+
<string name="filepicker_title"><u>Simple File Picker (filepicker dialog)</u></string>
75+
<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>
76+
<string name="filepicker_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Picker</string>
77+
<string name="fileproperties_title"><u>Simple File Properties (properties dialog)</u></string>
78+
<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>
79+
<string name="fileproperties_url" translatable="false">https://github.com/SimpleMobileTools/Simple-File-Properties</string>
7480

7581
<!-- Settings -->
7682
<string name="settings">Settings</string>

0 commit comments

Comments
 (0)