include ambilwarna library for picking colors

This commit is contained in:
tibbi 2016-08-30 19:57:42 +02:00
parent cecf2faac8
commit 22b002954a
7 changed files with 26 additions and 0 deletions

View File

@ -31,6 +31,7 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.jakewharton:butterknife:8.0.1'
compile 'com.squareup:otto:1.3.8'
compile 'com.github.yukuku:ambilwarna:2.0.1'
apt 'com.jakewharton:butterknife-compiler:8.0.1'
}

View File

@ -23,6 +23,11 @@ public class LicenseActivity extends SimpleActivity {
openUrl(R.string.butterknife_url);
}
@OnClick(R.id.license_ambilwarna_title)
public void ambilwarnaClicked() {
openUrl(R.string.ambilwarna_url);
}
@OnClick(R.id.license_otto_title)
public void ottoClicked() {
openUrl(R.string.otto_url);

View File

@ -31,6 +31,20 @@
android:layout_height="wrap_content"
android:text="@string/butterknife_text"/>
<TextView
android:id="@+id/license_ambilwarna_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/ambilwarna_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_ambilwarna_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/ambilwarna_text"/>
<TextView
android:id="@+id/license_otto_title"
android:layout_width="match_parent"

View File

@ -25,5 +25,6 @@
<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">Butter Knife (view injector)</string>
<string name="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="otto_title"><u>Otto (event bus)</u></string>
</resources>

View File

@ -25,5 +25,6 @@
<string name="notice">このアプリは、私の人生を容易にするために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
<string name="third_party_licences">サードパーティー ライセンス</string>
<string name="butterknife_title">Butter Knife (ビュー インジェクター)</string>
<string name="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="otto_title"><u>Otto (イベント バス)</u></string>
</resources>

View File

@ -25,5 +25,6 @@
<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="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="otto_title"><u>Otto (event bus)</u></string>
</resources>

View File

@ -28,6 +28,9 @@
<string name="butterknife_title">Butter Knife (view injector)</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="ambilwarna_title"><u>AmbilWarna (color picker)</u></string>
<string name="ambilwarna_text" translatable="false">Copyright 2009-2015 Yuku\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="ambilwarna_url" translatable="false">https://github.com/yukuku/ambilwarna</string>
<string name="otto_title"><u>Otto (event bus)</u></string>
<string name="otto_text" translatable="false">Copyright 2012 Square, Inc.\nCopyright 2010 Google, Inc.\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="otto_url" translatable="false">https://github.com/square/otto</string>