add filepicker and fileproperties licenses

This commit is contained in:
tibbi 2016-11-13 10:33:33 +01:00
parent d2a8aca830
commit 57836b229d
10 changed files with 50 additions and 1 deletions

View file

@ -15,6 +15,8 @@ class LicenseActivity : SimpleActivity() {
license_photoview_title.setOnClickListener { openUrl(R.string.photoview_url) } license_photoview_title.setOnClickListener { openUrl(R.string.photoview_url) }
license_glide_title.setOnClickListener { openUrl(R.string.glide_url) } license_glide_title.setOnClickListener { openUrl(R.string.glide_url) }
license_cropper_title.setOnClickListener { openUrl(R.string.cropper_url) } license_cropper_title.setOnClickListener { openUrl(R.string.cropper_url) }
license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) }
license_fileproperties_title.setOnClickListener { openUrl(R.string.fileproperties_url) }
} }
private fun openUrl(id: Int) { private fun openUrl(id: Int) {

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<ScrollView <ScrollView
android:id="@+id/license_holder"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/license_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -73,5 +73,32 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/cropper_text"/> android:text="@string/cropper_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> </LinearLayout>
</ScrollView> </ScrollView>

View file

@ -116,4 +116,6 @@
<string name="photoview_title"><u>PhotoView (Zoomable Imageviews)</u></string> <string name="photoview_title"><u>PhotoView (Zoomable Imageviews)</u></string>
<string name="glide_title"><u>Glide (Bilder laden und zwischenspeichern)</u></string> <string name="glide_title"><u>Glide (Bilder laden und zwischenspeichern)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -116,4 +116,6 @@
<string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string> <string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string>
<string name="glide_title"><u>Glide (image loading and caching)</u></string> <string name="glide_title"><u>Glide (image loading and caching)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -116,4 +116,6 @@
<string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string> <string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string>
<string name="glide_title"><u>Glide (image loading and caching)</u></string> <string name="glide_title"><u>Glide (image loading and caching)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -116,4 +116,6 @@
<string name="photoview_title"><u>PhotoView (ズーム可能イメージビュー)</u></string> <string name="photoview_title"><u>PhotoView (ズーム可能イメージビュー)</u></string>
<string name="glide_title"><u>Glide (イメージ ローディングとキャッシング)</u></string> <string name="glide_title"><u>Glide (イメージ ローディングとキャッシング)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -116,4 +116,6 @@
<string name="photoview_title"><u>PhotoView (ampliação de imagens)</u></string> <string name="photoview_title"><u>PhotoView (ampliação de imagens)</u></string>
<string name="glide_title"><u>Glide (carregamento e cache de imagens)</u></string> <string name="glide_title"><u>Glide (carregamento e cache de imagens)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -116,4 +116,6 @@
<string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string> <string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string>
<string name="glide_title"><u>Glide (image loading and caching)</u></string> <string name="glide_title"><u>Glide (image loading and caching)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -117,4 +117,6 @@
<string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string> <string name="photoview_title"><u>PhotoView (zoomable imageviews)</u></string>
<string name="glide_title"><u>Glide (image loading and caching)</u></string> <string name="glide_title"><u>Glide (image loading and caching)</u></string>
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</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>
</resources> </resources>

View file

@ -125,4 +125,10 @@
<string name="cropper_title"><u>Android Image Cropper</u></string> <string name="cropper_title"><u>Android Image Cropper</u></string>
<string name="cropper_text" translatable="false">Copyright 2016, Arthur Teplitzki, 2013, Edmodo, Inc.\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or 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="cropper_text" translatable="false">Copyright 2016, Arthur Teplitzki, 2013, Edmodo, Inc.\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or 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="cropper_url" translatable="false">https://github.com/ArthurHub/Android-Image-Cropper</string> <string name="cropper_url" translatable="false">https://github.com/ArthurHub/Android-Image-Cropper</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>
</resources> </resources>