add Stetho license

This commit is contained in:
tibbi 2016-11-20 18:03:50 +01:00
parent 8deb10a0ac
commit 877c5b75fc
10 changed files with 25 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class LicenseActivity : SimpleActivity() {
license_ambilwarna_title.setOnClickListener { openUrl(R.string.ambilwarna_url) }
license_joda_title.setOnClickListener { openUrl(R.string.joda_url) }
license_stetho_title.setOnClickListener { openUrl(R.string.stetho_url) }
}
private fun openUrl(id: Int) {

View file

@ -45,5 +45,19 @@
android:layout_height="wrap_content"
android:text="@string/joda_text"/>
<TextView
android:id="@+id/license_stetho_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/stetho_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_stetho_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/stetho_text"/>
</LinearLayout>
</ScrollView>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">Drittanbieterlizenzen</string>
<string name="ambilwarna_title"><u>AmbilWarna (Color Picker)</u></string>
<string name="joda_title"><u>Joda-Time (Java Datumsaustausch)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 Termin gelöscht</item>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">Licencia de terceros</string>
<string name="ambilwarna_title"><u>AmbilWarna (selector de color)</u></string>
<string name="joda_title"><u>Joda-Time (reemplazo de la fecha Java)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 evento borrado</item>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">तीसरे पक्ष के लाइसेंस</string>
<string name="ambilwarna_title"><u>अम्बिलवरना (कलर पिकर)</u></string>
<string name="joda_title"><u>जोड़ा-टाइम(जावा डेट रिप्लेसमेंट)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 इवेंट डिलीट किया गया</item>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">Licenze di terze parti</string>
<string name="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="joda_title"><u>Joda-Time (Java date replacement)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 evento eliminato</item>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">サードパーティー ライセンス</string>
<string name="ambilwarna_title"><u>AmbilWarna (カラー ピッカー)</u></string>
<string name="joda_title"><u>Joda-Time (Java 日付の置き換え)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 イベントを削除しました</item>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">Licenças de terceiros</string>
<string name="ambilwarna_title"><u>AmbilWarna (seletor de cores)</u></string>
<string name="joda_title"><u>Joda-Time (substituto de Java date)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 evento apagado</item>

View file

@ -72,6 +72,7 @@
<string name="third_party_licences">Tredjepartslicenser</string>
<string name="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="joda_title"><u>Joda-Time (Java date replacement)</u></string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<plurals name="events_deleted">
<item quantity="one">1 händelse borttagen</item>

View file

@ -77,6 +77,9 @@
<string name="joda_title"><u>Joda-Time (Java date replacement)</u></string>
<string name="joda_text" translatable="false">Copyright 2013 JodaOrg\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="joda_url" translatable="false">https://github.com/JodaOrg/joda-time</string>
<string name="stetho_title"><u>Stetho (debugging databases)</u></string>
<string name="stetho_text" translatable="false">BSD License\n\nFor Stetho software\n\nCopyright (c) 2015, Facebook, Inc. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n * Neither the name Facebook nor the names of its contributors may be used to\n endorse or promote products derived from this software without specific\n prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</string>
<string name="stetho_url" translatable="false">https://github.com/facebook/stetho</string>
<plurals name="events_deleted">
<item quantity="one">1 event deleted</item>