remove gson

This commit is contained in:
tibbi 2016-08-14 18:28:29 +02:00
parent dbd27b7baf
commit 3eb6f8a804
4 changed files with 0 additions and 22 deletions

View File

@ -30,7 +30,6 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.google.code.gson:gson:2.7'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

View File

@ -14,9 +14,5 @@ class LicenseActivity : SimpleActivity() {
license_kotlin_title.setOnClickListener {
startActivity(viewIntent(getString(R.string.kotlin_url)))
}
license_gson_title.setOnClickListener {
startActivity(viewIntent(getString(R.string.gson_url)))
}
}
}

View File

@ -32,19 +32,5 @@
android:layout_height="wrap_content"
android:text="@string/kotlin_text"/>
<TextView
android:id="@+id/license_gson_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/gson_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_gson_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/gson_text"/>
</LinearLayout>
</ScrollView>

View File

@ -22,7 +22,4 @@
<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="gson_title"><u>Gson (de/serialization library)</u></string>
<string name="gson_text" translatable="false">Copyright 2008 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="gson_url" translatable="false">https://github.com/google/gson</string>
</resources>